Next: LSHIFT, Previous: LOG_GAMMA, Up: Intrinsic Procedures [Contents][Index]
LOGICAL — Convert to logical typeRESULT = LOGICAL(L [, KIND])
Converts one kind of LOGICAL variable to another.
Elemental function
| L | The type shall be LOGICAL. |
| KIND | (Optional) A scalar INTEGER constant
expression indicating the kind parameter of the result. |
The return value is a LOGICAL value equal to L, with a
kind corresponding to KIND, or of the default logical kind if
KIND is not given.
Fortran 90 and later