HP Pascal/iX Reference Manual (31502-90022)

12- 50
LONG ADDR, 8-BIT ALIGNED
PARM # 3: SHORTINT(16) at OFFSET 80 by VALUE
LITERAL_ALIAS
LITERAL_ALIAS is an HP Pascal Option.
When the LITERAL_ALIAS compiler option is ON, the compiler takes aliases
literally (exactly as they are spelled, differentiating between uppercase
and lowercase letters). When LITERAL_ALIAS is OFF, the compiler
downshifts aliases (or upshifts them if the compiler option UPPERCASE is
ON).
Syntax
$LITERAL_ALIAS {ON }$
{OFF}
Default OFF
Location Anywhere.
The LITERAL_ALIAS compiler option overrides the UPPERCASE compiler
option.
Example
$LITERAL_ALIAS ON$
PROCEDURE $ALIAS 'PRoc1Name'$ PROC1; {External name is PRoc1Name}
$LITERAL_ALIAS OFF$
PROCEDURE $ALIAS 'PRoc2Name'$ PROC2; {External name is proc2name}
LOCALITY
LOCALITY is an HP Pascal Option.
The LOCALITY compiler option specifies a locality name to be associated
with the code for all subsequent routines until the next LOCALITY option.
The compiler puts the locality name in the object file.
Syntax
$LOCALITY
string
$
Parameter
string
Specifies a locality name for the object code. The
compiler does not distinguish between uppercase and
lowercase letters in
string
.
Default The nameless locality.
Location Anywhere.
Using locality names can improve the performance of a program in cases
where calling a routine in the same locality can require fewer
instructions and fewer page faults than calling a routine in a different
locality. If you use $LOCALITY and want to go back to using default
locality, use $LOCALITY ‘CODE'$. Refer to LINKEDITOR manuals for
details.
Example
$LOCALITY 'Sample'$
PROGRAM show_locality;