HP Pascal/iX Reference Manual (31502-90022)

12- 54
$NLS_SOURCE ON$
{Native Mode language source code can appear here.}
.
.
.
CONST
s = "some string literal";
$NLS_SOURCE OFF$
{Native Mode language source code cannot appear here.}
NOTE On MPE/iX, a warning occurs if the NLUSERLANG JCW is not set before
compiling a program that turns the NLS_SOURCE compiler option ON.
On HP-UX, a warning occurs if the LANG environment variable is not
set before compiling a program that turns the NLS_SOURCE compiler
option ON.
NOTES
NOTES is an HP Pascal Option.
When the NOTES compiler option is ON, the compiler prints notes, which
give you information that can help you correct possible run-time errors
or make your program more efficient.
Syntax
$NOTES {ON }$
{OFF}
Default ON.
Location Anywhere.
Example
PAGE 1 HEWLETT-PACKARD ...
0 1.000 0 PROGRAM Note_Example;
0 2.000 0
0 3.000 0 VAR
0 4.000 0 Ptr1 : LocalAnyPtr;
1 5.000 0 Ptr2 : ^Integer;
2 6.000 0
2 7.000 1 BEGIN
2 8.000 1 Ptr1 := NIL;
3 9.000 1 Ptr2 := Ptr1;
**** NOTE # 1 CODE GENERATED TO VERIFY CORRECT POINTER ALIGNMENT (377)
4 10.000 1 $NOTES OFF$
4 11.000 1 Ptr2 := Ptr1;
5 12.000 1 END.
OPTIMIZE
OPTIMIZE is an HP Pascal Option.
The OPTIMIZE compiler option specifies level one, level two, or no
optimization for the program being compiled Refer to the
HP Pascal/iX
Programmer's Guide
or the
HP Pascal/HP-UX Programmer's Guide
, depending
on your implementation, for more information on the optimizer.
The command line options +O1, +O2, and -O also specify this option.