Intel® Fortran Compiler

Developer Guide and Reference

ID 767251
Date 3/31/2025
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Visible to Intel only — GUID: GUID-A24E69AF-E206-405E-A779-A3CC208C4743

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.