CHARACTER_RETURN_ARG

Pass argument(s) that will be the return value of a FORTRAN CHARACTER FUNCTION

Description:

Pass the function return value argument(s) to a FORTRAN CHARACTER FUNCTION. There is no corresponding dummy argument in the FORTRAN FUNCTION, but the compiler generates an extra argument specifying the address and possibly another one, specifying the length of the value to be returned. The argument should be the address of a FORTRAN CHARACTER variable.

Invocation

CHARACTER_RETURN_ARG(arg)

Arguments

arg
The hidden dummy argument to be declared.

Examples:

CHARACTER_RETURN_ARG(x)
will expand as follows:
All Unix: x ,int x_length
VAX/VMS: x_arg