HP Pascal/iX Reference Manual (31502-90022)

12- 62
Compiler options with the location "At front" are not affected by POP.
The following compiler options are not affected by POP either:
ALIAS GLOBAL PUSH
COPYRIGHT IF SKIP_TEXT
ELSE INCLUDE SUBPROGRAM
ENDIF LOCALITY SYSINTR
EXTERNAL PAGE TITLE
FONT POP
Example
{Include file for supporting types.}
$PUSH, LIST OFF$
{Do not list the supporting types.
To preserve the LIST state (ON or OFF) that this program set,
save it first}
TYPE
bit1 = 0..1;
bit2 = 0..2;
bit3 = 0..7;
.
.
.
bit16 = 0..32767;
$POP$
TYPE
posshortint = bit16;
.
.
.
PUSH
PUSH is an HP Pascal Option.
The PUSH compiler option saves the current compiler option settings.
Syntax
$PUSH$
Default Not applicable.
Location Anywhere.
The PUSH option can execute 15 times before the POP option must execute.
Example
{Include file for supporting types.}
$PUSH, LIST OFF$
{Do not list the supporting types.
To preserve the LIST state (ON or OFF) that this program set,
save it first}
TYPE
bit1 = 0..1;
bit2 = 0..2;
bit3 = 0..7;
.