next up previous 252
Next: F77_LOGICAL_TYPE - Define the type LOGICAL
Up: Full Description of F77 Macros
Previous: F77_LOCK - Prevents code from being run simultaneously in two separate threads


F77_ISTRUE - Is this the FORTRAN logical value true?

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

Invocation:
if( F77_ISTRUE(var) ) ...

Arguments:

var
The name of the value to be tested.

Examples:

F77_ISTRUE(var)
will expand as follows:

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


Notes:



next up previous 252
Next: F77_LOGICAL_TYPE - Define the type LOGICAL
Up: Full Description of F77 Macros
Previous: F77_LOCK - Prevents code from being run simultaneously in two separate threads

CNF and F77 Mixed Language Programming -- FORTRAN and C
Starlink User Note 209
P.M. Allan
A.J. Chipperfield
R.F. Warren-Smith
P.W. Draper
18 April 2008
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council