Next: TRAIL - Declare hidden trailing arguments
Up: Full Description of F77 Macros
Previous: SUBROUTINE - Declare a SUBROUTINE argument.
SUBROUTINE_ARG
- Pass a SUBROUTINE argument to a FORTRAN routine.
- Description:
- Pass a SUBROUTINE argument to a FORTRAN routine.
The argument should be a pointer to a subroutine designed to be called
from a FORTRAN program.
- Invocation:
- SUBROUTINE_ARG(p_name)
- Arguments:
-
-
p_name
-
A pointer to the actual subroutine to be used.
- Examples:
-
- SUBROUTINE_ARG(name)
- will expand as follows:
Next: TRAIL - Declare hidden trailing arguments
Up: Full Description of F77 Macros
Previous: SUBROUTINE - Declare a SUBROUTINE 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