Silverfrost Logo About Us | Contact Us
 

Octal, hexadecimal and binary constants

FTN95 permits the use of B, O and Z constants anywhere in a program (the standard specifies these should only appear in DATA statements.) To specify the size of the constant, a kind specifier should appear after the constant, e.g. "Z'7F'_1" is an INTEGER(KIND=1) constant.

 

 

Copyright © 1999-2017 Silverfrost Limited