HP Fortran Programmer's Reference (September 2007)

HP Fortran statements
STATIC (statement, attribute, extension)
Chapter 10 463
IF (first_call) ncalls = 0
ncalls = ncalls + 1 ! record how often work_out is called
...
END SUBROUTINE work_out
Related statements
AUTOMATIC and SAVE
Related concepts
For related information, see the following:
“Type declaration for intrinsic types” on page 109
Information about automatic and static variables, in the HP Fortran Programmer’s Guide