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


Passing Arguments to a FORTRAN Routine

type may be one of: CHARACTER, DOUBLE, INTEGER, LOGICAL, REAL, BYTE, WORD, UBYTE, UWORD or POINTER.
type_ARG
Pass an argument of the specified type to a FORTRAN routine
type_ARRAY_ARG
Pass an array argument of the specified type to a FORTRAN routine
type_FUNCTION_ARG
Pass a FORTRAN-callable FUNCTION of the specified type as an argument to a FORTRAN routine
CHARACTER_RETURN_ARG
Pass an argument that will be the return value of a CHARACTER FUNCTION
F77_CALL
Call a FORTRAN routine from C
SUBROUTINE_ARG
Pass a FORTRAN-callable SUBROUTINE name as an argument to a FORTRAN routine
TRAIL_ARG
Pass the length of a CHARACTER argument to a FORTRAN routine



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

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