next up previous 252
Next: Importing and Exporting Arguments
Up: Classified List of F77 Macros
Previous: Common Block Macros


Declaring Variables for Passing to a FORTRAN Routine

type may be one of: CHARACTER, DOUBLE, INTEGER, LOGICAL, REAL, BYTE, WORD, UBYTE, UWORD or POINTER.
DECLARE_type
C declaration of a FORTRAN variable of the specified type
DECLARE_type_ARRAY
C declaration of a FORTRAN array of the specified type
DECLARE_type_ARRAY_DYN
C declaration of a dynamic FORTRAN array of the specified type
F77_CREATE_type_ARRAY
Create a dynamic FORTRAN array of type
DECLARE_CHARACTER_DYN
C declaration of a dynamic FORTRAN CHARACTER variable
F77_CREATE_CHARACTER
Create a dynamic FORTRAN CHARACTER variable
F77_CREATE_CHARACTER_ARRAY
Create a dynamic FORTRAN CHARACTER 1-D array
F77_CREATE_CHARACTER_ARRAY_M
Create a dynamic FORTRAN CHARACTER n-D array
F77_CREATE_LOGICAL_ARRAY_M
Create a dynamic FORTRAN LOGICAL n-D array
F77_FREE_type
Free a dynamic FORTRAN array or CHARACTER variable



next up previous 252
Next: Importing and Exporting Arguments
Up: Classified List of F77 Macros
Previous: Common Block Macros

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