Purpose
Returns a value of the kind type
parameter of a character data type.
Class
Transformational function
Argument type and attributes
- NAME
- An INTENT(IN) CHARACTER scalar
Result type and attributes
Default integer
scalar.
Result value
- If you specify NAME as ASCII, SELECTED_CHAR_KIND returns
the kind type parameter of the ASCII character type.
- If you specify NAME as DEFAULT, SELECTED_CHAR_KIND returns
the kind type parameter of the default character type
- Otherwise, SELECTED_CHAR_KIND returns
-1.