A.9 Alternative Syntax for Bit Constants

In Compaq Fortran 77, you can use an alternative syntax for binary, octal, and hexadecimal constants. The following table shows this alternative syntax and equivalents:

Constant  Alternative Syntax  Equivalent 
Binary  B'0..1'  '0..1'B 
Octal  O'0..7'  '0..7'O 
Hexadecimal  X'0..F'  '0..F'X 
 
Z'0..F' '0..F'Z

On Alpha processors, you can use a quotation mark (") in place of an apostrophe in all the above syntax forms.

For More Information:

For details on bit constants, see Section 2.2.1.4.


Previous Page Next Page Table of Contents