HP Fortran Programmer Guide (766160-001, March 2014)
Directives
HP FORTRAN 77™supports more than seventy directives; of these, only a handful are supported
by HP Fortran; see “Directives” (page 134), for the directives that are supported and for the new
directive syntax. Note that, except for the LISTdirective, the HP Fortran directives have more
limited functionality than their HP FORTRAN 77™counterparts; see the HP Fortran Programmer's
Reference.
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 39 HP FORTRAN 77 directives supported by f90 options
RemarksHP Fortran optionHP FORTRAN 77 directive
Applies to Fortran 90 instead of FORTRAN 77™.
+langlvl=f90ANSI
+asmASSEMBLY
+autodbl[4]AUTODBL DBL
+noautodblAUTODBL OFF
Obsolete; the functionality enabled by the directive
is now the default.
not availableCONTINUATIONS
-gDEBUG
Use C preprocessor ( cpp) directivesnot availableIF/ELSE/ENDIF
+gprofGPROF (ON)
+nogprofGPROF OFF
+DAor +DSHP_DESTINATION
Use the Fortran 90 INCLUDEline.INCLUDE
Option also saves all symbols.+OinitcheckINIT
+asmLIST_CODE
Option also affects reals.+autodbl[4]LONG
Lowercase is default.+[no]uppercaseLOWERCASE
+nlsNLS
+[no]onetripONETRIP
+[no]ppuPOSTPEND
+check=all or -CRANGE (ON)
+check=noneRANGE OFF
+saveSAVE_LOCALS (ON)
+nosaveSAVE_LOCALS OFF
Use the C preprocessor #define directive.-D or -USET
Applies to Fortran 90 instead of FORTRAN 77.+langlvl=f90STANDARD_LEVEL ANSI
-gSYMDEBUG
Lowercase is the default.+[no]uppercaseUPPERCASE
-wWARNINGS
136 Migrating to HP Fortran