Silverfrost Logo About Us | Contact Us
 
/INTL and/INTS compiler options

/INTL and /INTS

With /INTS, every variable of type INTEGER will become INTEGER(KIND=2) unless it is explicitly declared as INTEGER(KIND=3) or INTEGER(KIND=1). Similarly every constant of type INTEGER will become INTEGER(KIND=2) unless one or more of the following is true:

  • Its value lies outside the range -32768 to +32767.

  • It has an explicit kind specifier (e.g. 125_1 and 256_3).

  • It is followed by the letter L (for INTEGER(KIND=3)) or B (for INTEGER(KIND=1)). (These forms are not allowed when the /ISO option is used.)

If the /INTL option is used (this is the supplied default), every variable of type INTEGER will become INTEGER(KIND=3) unless it is explicitly declared as INTE GER(KIND=2) or INTEGER(KIND=1). Also every constant of type integer will become INTEGER(KIND=3) unless it is followed by an explicit kind specifier or the letter S (for INTEGER(KIND=2)) or B (for INTEGER(KIND=1)).

Unlike FTN77, FTN95 applies /INTS and /INTL to files that are INCLUDEd in the current file.

FTN95 only acts as a standard-conforming compiler when /INTL is used.

 

 

Copyright © 1999-2017 Silverfrost Limited