next up previous 252
Next: type_ARRAY - Declare a array argument
Up: Full Description of F77 Macros
Previous: type - Declare a type argument


type_ARG - Pass a type argument to a FORTRAN routine

Description:
Pass an argument of the appropriate type to a FORTRAN routine. The argument should be the address of the variable. (type not LOCATOR.)

Invocation:
type_ARG(p_arg)

Arguments:

p_arg
A pointer to the actual argument being passed.

Examples:

type_ARG(&arg)
will expand as follows:

All systems: &arg


Associated macro:
CHARACTER_ARG



next up previous 252
Next: type_ARRAY - Declare a array argument
Up: Full Description of F77 Macros
Previous: type - Declare a type argument

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