Next: LONG, Previous: LOG_GAMMA, Up: Intrinsic Procedures [Contents][Index]
9.180 LOGICAL — Convert to logical type
- Description:
Converts one kind of
LOGICALvariable to another.- Standard:
Fortran 90 and later
- Class:
Elemental function
- Syntax:
RESULT = LOGICAL(L [, KIND])- Arguments:
L The type shall be LOGICAL.KIND (Optional) An INTEGERinitialization expression indicating the kind parameter of the result.- Return value:
The return value is a
LOGICALvalue equal to L, with a kind corresponding to KIND, or of the default logical kind if KIND is not given.- See also:
