General Form of Declarations
Declaration of Variables
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