HP Fortran Programmer's Guide (B3908-90031; September 2011)

Migrating to HP Fortran
Migration issues
Chapter 10228
Although most of the HP FORTRAN 77 directives are not supported by HP Fortran, some of their
functionality is available through command-line options; see Table 10-3.
Table 10-3 HP FORTRAN 77 directives supported by f90 options
HP FORTRAN 77 directive HP Fortran option Remarks
ANSI +langlvl=f90 Applies to Fortran 90 instead of FORTRAN
77.
ASSEMBLY +asm
AUTODBL DBL +autodbl[4]
AUTODBL OFF +noautodbl
CONTINUATIONS not available Obsolete; the functionality enabled by the
directive is now the default.
DEBUG -g
IF/ELSE/ENDIF not available Use C preprocessor (cpp) directives.
GPROF (ON) +gprof
GPROF OFF +nogprof
HP_DESTINATION +DA or +DS
INCLUDE Use the Fortran 90 INCLUDE line.
INIT +Oinitcheck Option also saves all symbols.
LIST_CODE +asm
LONG +autodbl[4] Option also affects reals.
LOWERCASE +[no]uppercase Lowercase is default.
NLS +nls
ONETRIP +[no]onetrip
POSTPEND +[no]ppu
RANGE (ON) +check=all or -C
RANGE OFF +check=none