XL Fortran for AIX 8.1

Language Reference


LOGICAL(L, KIND)

Converts between objects of type logical with different kind type parameter values.

L
must be of type logical.

KIND (optional)
must be a scalar integer initialization expression.

Class

Elemental function

Result Type and Attributes

Result Value

The value is that of L.

Examples

LOGICAL (L .OR. .NOT. L) has the value .TRUE. and is of type default logical, regardless of the kind type parameter of the logical variable L.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]