next up previous 252
Next: TRAIL_ARG - Pass the length of a CHARACTER argument to a FORTRAN routine
Up: Full Description of F77 Macros
Previous: SUBROUTINE_ARG - Pass a SUBROUTINE argument to a FORTRAN routine.


TRAIL - Declare hidden trailing arguments

Description:
Declare an argument on those machines that put an extra value at the end of the argument list to specify the length of a CHARACTER variable or array element.

Invocation:
TRAIL(arg)

Arguments:

arg
The name of the CHARACTER or CHARACTER array dummy argument.

Examples:

TRAIL(arg)
will expand as follows:

32bit Unix: ,int arg_length
Some 64bit Unix: ,long arg_length
VAX/VMS:




next up previous 252
Next: TRAIL_ARG - Pass the length of a CHARACTER argument to a FORTRAN routine
Up: Full Description of F77 Macros
Previous: SUBROUTINE_ARG - Pass a SUBROUTINE argument to a FORTRAN routine.

CNF and F77 Mixed Language Programming -- FORTRAN and C
Starlink User Note 209
P.M. Allan
A.J. Chipperfield
R.F. Warren-Smith
P.W. Draper
18 April 2008
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council