next up previous 252
Next: F77_BYTE_TYPE - Define the type BYTE
Up: Full Description of F77 Macros
Previous: DECLARE_CHARACTER_DYN - Declare a CHARACTER variable


F77_BLANK_COMMON - Refer to blank common

Description:
Expands to the external name of blank common on the computer in use. This is used in declaring an external structure in C that overlays the FORTRAN blank common block.

Invocation:
F77_BLANK_COMMON

Examples:

F77_BLANK_COMMON
will expand as follows:

All Unix _BLNK__
VAX/VMS: $BLANK

extern struct {int i,j,k;} F77_BLANK_COMMON;
declares an external structure to use the same storage as the FORTRAN blank common.
F77_BLANK_COMMON.i
refers to component i of the above structure.



next up previous 252
Next: F77_BYTE_TYPE - Define the type BYTE
Up: Full Description of F77 Macros
Previous: DECLARE_CHARACTER_DYN - Declare a CHARACTER variable

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