B.7 Alternative Syntax for Octal and Hexadecimal Constants

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

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

You can use a quotation mark (") in place of an apostrophe in all the above syntax forms.

For More Information:


Previous Page Next Page Table of Contents