next up previous contents
Next: General Form of Declarations Up: Declaration of Variables Previous: Complex   Contents

Logical.

Logical (Boolean) variables are declared as
logical Q, P  or  
logical :: Q, P
They can take only (one of) two possible values: true or false (written, in Fortran notation, .TRUE. and .FALSE.). A declaration with initialization may look like
logical :: Q=.TRUE., P=.FALSE.



Adrian Sandu 2001-08-26