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: