Intel® Fortran Compiler 18.0 Developer Guide and Reference

Character Data Type

The character data type can be specified as follows:

CHARACTER

CHARACTER([LEN=] len)

CHARACTER(LEN= len, KIND= n)

CHARACTER(len, [KIND=] n)

CHARACTER(KIND= n [, LEN= len])

CHARACTER* len [,]

n

Is a constant expression that evaluates to kind 1.

len

Is a string length (not a kind). For more information, see Declaration Statements for Character Types.

If no kind type parameter is specified, the kind of the constant is default character.

On Windows systems, several Multi-Byte Character Set (MBCS) functions are available to manipulate special non-English characters.

See Also