XL Fortran for AIX 8.1

Language Reference


Characters

The XL Fortran character set consists of letters, digits, and special characters:

Letters Digits Special Characters
A   N   * a   n
B   O     b   o
C   P     c   p
D   Q     d   q
E   R     e   r
F   S     f   s
G   T     g   t
H   U     h   u
I   V     i   v
J   W     j   w
K   X     k   x
L   Y     l   y
M   Z     m   z *
0
1
2
3
4
5
6
7
8
9
 
    Blank
=   Equal sign
+   Plus sign
-   Minus sign
*   Asterisk
/   Slash
(   Left parenthesis
)   Right parenthesis
,   Comma
.   Decimal point / period
$   Currency symbol
'   Apostrophe
:   Colon
!   Exclamation point
"   Double quotation mark
%   Percent sign
&   Ampersand
;   Semicolon
?   Question mark
<   Less than
>   Greater than
_   Underscore

+-------------------------------IBM Extension--------------------------------+

Note:
* Lower case letters are used in XL Fortran

+----------------------------End of IBM Extension----------------------------+

The characters have an order known as a collating sequence, which is the arrangement of characters that determines their sequence order for such processes as sorting, merging, comparing. XL Fortran uses American National Standard Code for Information Interchange (ASCII) to determine the ordinal sequence of characters. (See Appendix B, ASCII and EBCDIC Character Sets for a complete listing of the ASCII character set.)

White space refers to blanks and tabs. The significance of white space depends on the source format used. See Lines and Source Formats for details.

A lexical token is a sequence of characters with an indivisible interpretation that forms a building block of a program. It can be a keyword, name, literal constant (not of type complex), operator, label, delimiter, comma, equal sign, colon, semicolon, percent sign, ::, or =>.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]