Converts one kind of LOGICAL variable to another.
Fortran 90 and later
Elemental function
RESULT = LOGICAL(L [, KIND])
| 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.
INT — Convert to integer type, REAL — Convert to real type, CMPLX — Complex conversion function
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gfortran/LOGICAL.html