Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public
Document Table of Contents

Character Data Type

The character data type can be specified as follows:

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.