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: