next up previous 252
Next: F77_IMPORT_CHARACTER_ARRAY - Import a CHARACTER array from FORTRAN to C.
Up: Full Description of F77 Macros
Previous: F77_FALSE - The logical value FALSE


F77_IMPORT_CHARACTER - Import a FORTRAN variable to a C variable.

Description:
Copies a FORTRAN CHARACTER string to a C string, making any necessary changes to the data

Invocation:
F77_IMPORT_CHARACTER(farg,len,carg)

Arguments:

farg
The FORTRAN string
len
The length of the FORTRAN string
carg
The C string

Examples:

F77_IMPORT_CHARACTER(farg,len,carg)
will expand as follows:

All systems: cnfImprt(farg,len,carg)


Associated macro:
F77_EXPORT_CHARACTER



next up previous 252
Next: F77_IMPORT_CHARACTER_ARRAY - Import a CHARACTER array from FORTRAN to C.
Up: Full Description of F77 Macros
Previous: F77_FALSE - The logical value FALSE

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