Intel® Fortran Compiler 18.0 Developer Guide and Reference

SELECTED_CHAR_KIND

Transformational Intrinsic Function (Generic): Returns the value of the kind type parameter of the character set named by the argument.

Syntax

result = SELECTED_CHAR_KIND(name)

name

(Input) Must be scalar and of type default character. Its value must be 'DEFAULT' or 'ASCII'.

Results

The result is a scalar of type default integer.

The result is a scalar of type default integer. The result value is 1 if NAME has the value 'DEFAULT' or 'ASCII'; otherwise, the result value is -1.