KIND(X)

Purpose

Returns the value of the kind type parameter of X.

Class

Inquiry function

Argument type and attributes

X
may be of any intrinsic type.

Result type and attributes

Default integer scalar.

Result value

The result has a value equal to the kind type parameter value of X.

Kind type parameters supported by XL Fortran are defined in Intrinsic types.

Examples

KIND (0.0) has the kind type parameter value of the default real type.