Converts one kind of logical
variable to another.
Fortran 95 and later
result = logical(l [, kind])
l
- The type shall be logical
.kind
- (Optional) An integer
initialization 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.