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:

All Unix: ,int 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
19 January 2000
E-mail:ussc@star.rl.ac.uk