logical
Declare a variable or constant to be if logical (Boolean) value
Syntax
dimension logical <variable name 1>, <variable name 2>, …
Description
The LOGICAL keyword is used in conjunction with a DIMENSION statement to declare a variable or constant to be of logical data type. All variables and constants are implicitly assumed to be floating point values unless a DIMENSION statement in conjunction with a type specified (CHARACTER, LOGICAL, etc…) is used to specify otherwise.
Example
initial
dimension logical flag
flag = true
end