HP 3000 Manuals

INIT Directive [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation


HP FORTRAN 77/iX Reference

INIT Directive 

The INIT directive turns on or off the generation of the code that
initializes all variables for the program unit it immediately precedes.

Syntax 

$INIT [ON ]
      [OFF]

Default               Off; no code to initialize variables for the next
                      program unit is generated.

Location              The INIT directive must appear before any
                      nondirective statements in the program unit.

Toggling/ Duration    The INIT directive applies only to the program unit
                      that immediately follows it.

Additional Information 

Arithmetic variables are initialized to zero, logical variables to false,
and character variables to all null characters.

Using this directive can decrease the portability of a FORTRAN 77
program.



MPE/iX 5.0 Documentation