next up previous 252
Next: DECLARE_type_ARRAY - Declare a FORTRAN array
Up: Full Description of F77 Macros
Previous: Generic Descriptions


DECLARE_type - Declare a FORTRAN variable

Description:
Declare a variable that will be passed to a FORTRAN routine. This variable will be the actual argument of a call to a FORTRAN routine. (type not CHARACTER or LOCATOR.)

Invocation:
DECLARE_type(arg)

Arguments:

arg
The variable being declared.

Examples:

DECLARE_type(arg)
will expand as follows:

All systems: F77_type_TYPE arg

where F77_type_TYPE expands to the appropriate C type.


Associated macro:
DECLARE_CHARACTER



next up previous 252
Next: DECLARE_type_ARRAY - Declare a FORTRAN array
Up: Full Description of F77 Macros
Previous: Generic Descriptions

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