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

ID 767251
Date 11/07/2023
Public

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

Document Table of Contents

Character Sets

Intel® Fortran supports the following characters:

  • The Fortran character set, which consists of the following:

    • All uppercase and lowercase letters (A through Z and a through z)

    • The numerals 0 through 9

    • The underscore ( _ )

    • The following special characters:

    Character

    Name

    Character

    Name

    blank or <Tab>

    Blank (space) or tab

    ;

    Semicolon

    =

    Equal sign

    !

    Exclamation point

    +

    Plus sign

    "

    Quotation mark or quote

    -

    Minus sign

    %

    Percent sign

    *

    Asterisk

    &

    Ampersand

    /

    Slash

    ~

    Tilde

    \

    Backslash

    <

    Less than

    (

    Left parenthesis

    >

    Greater than

    )

    Right parenthesis

    ?

    Question mark

    [

    Left square bracket

    '

    Apostrophe

    ]

    Right square bracket

    `

    Grave accent

    {

    Left curly bracket

    ^

    Circumflex accent

    }

    Right curly bracket

    |

    Vertical line

    ,

    Comma

    $

    Dollar sign (currency symbol)

    .

    Period or decimal point

    #

    Number sign

    :

    Colon

    @

    Commercial at

  • Other printable characters

    Printable characters include the tab character (09 hex), ASCII characters with codes in the range 20(hex) through 7E(hex), and characters in certain special character sets.

    Printable characters that are not in the Standard Fortran character set can only appear in comments, character constants, Hollerith constants, character string edit descriptors, and input/output records.

Uppercase and lowercase letters are treated as equivalent when used to specify program behavior (except in character constants and Hollerith constants).

See Also