Logical Constants

A logical constant represents only the logical values true or false, and takes one of the following forms:

.TRUE.[_k]
.FALSE.[_k]

k
Is the optional kind parameter: 1 for LOGICAL(1), 2 for LOGICAL(2), 4 for LOGICAL(4), or 8 for LOGICAL(8). It must be preceded by an underscore ( _ ).

Logical data type ranges correspond to their comparable integer data type ranges. For example, the LOGICAL(2) range is the same as the INTEGER(2) range.

See Also

For details on integer data type ranges, see Building Applications.