Next: Classified List of CNF Functions
Up: Full Description of F77 Macros
Previous: TRAIL - Declare hidden trailing arguments
TRAIL_ARG
- Pass the length of a CHARACTER argument to a FORTRAN routine
- Description:
- Pass the length of a CHARACTER argument or a CHARACTER array argument
element length to a FORTRAN routine if the FORTRAN routine expects to
receive it as a separate argument. The corresponding integer variable is
handled automatically where it is needed.
- Invocation:
- TRAIL_ARG(arg)
- Arguments:
-
-
arg
-
The name of the CHARACTER or CHARACTER array actual argument being
passed.
- Examples:
-
- TRAIL_ARG(arg)
- will expand as follows:
All Unix: |
,arg_length |
VAX/VMS: |
|
Next: Classified List of CNF Functions
Up: Full Description of F77 Macros
Previous: TRAIL - Declare hidden trailing arguments
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