HP Pascal/iX Reference Manual (31502-90022)

12- 28
.
.
END.
Another compilation unit:
$EXTERNAL$
PROGRAM show_external (input,output);
VAR
state : Boolean; {Matches variable in show_global's outer block}
{a,b,c,d need not be declared here because this
compilation unit does not use them.}
PROCEDURE proc1;
BEGIN
.
.
.
END;
BEGIN
{Empty outer block}
END.
GPROF
GPROF is a System-Dependent HP-UX Option.
The compiler option GPROF causes the compiler to produce code that
profiles itself as it runs. You can analyze the profiles with the HP-UX
utility gprof.
Syntax
$GPROF {ON }$
{OFF}
Default OFF.
Location Anywhere before the keyword PROGRAM (illegal in
modules).
Example
$GPROF ON$
PROGRAM a;
PROCEDURE b;
BEGIN
END;
BEGIN
b;
END;
NOTE A program containing the GPROF compiler option must be linked with
the
pc
option -G.
HEAP_COMPACT
HEAP_COMPACT is an HP Pascal Option.
When the HEAP_COMPACT compiler option is ON (and the HEAP_DISPOSE option
is also ON), free space in the heap is concatenated when the predefined