[Info-vax] Fortran problem with QIO
glen herrmannsfeldt
gah at ugcs.caltech.edu
Mon Dec 7 13:31:54 EST 2009
Ken Fairfield <ken.fairfield at gmail.com> wrote:
(snip)
> To the OP, you need to know that VAX Fortran
> passes most arguments by reference (address),
> with the exception of CHARACTER variables,
> which are always passed by descriptor (as
> noted by other posters).
As I understand it, CHARACTER variables are passed by
descriptor, as you say. At LINK time, is the dummy argument
is not CHARACTER it is converted from descriptor to reference
form, allowing Fortran 66 style calls where the actual argument
is another type, such as INTEGER.
-- glen
More information about the Info-vax
mailing list