next up previous 252
Next: F77_ISTRUE - Is this the FORTRAN logical value true?
Up: Full Description of F77 Macros
Previous: F77_INTEGER_TYPE - Define the type INTEGER


F77_ISFALSE - Is this the FORTRAN logical value false?

Description:
Does the argument of the macro evaluate to a value that FORTRAN would treat as a LOGICAL false?

Invocation:
if( F77_ISFALSE(var) ) ...

Arguments:

var
The name of the value to be tested.

Examples:

F77_ISFALSE(var)
will expand as follows:

Solaris: ( ! ( var ) )
OSF/1: ( ! ( (var)&1 ) )
VAX/VMS: ( ! ( (var)&1 ) )


Notes:



next up previous 252
Next: F77_ISTRUE - Is this the FORTRAN logical value true?
Up: Full Description of F77 Macros
Previous: F77_INTEGER_TYPE - Define the type INTEGER

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