HP 3000 Manuals

NOTES [ HP Pascal/iX Reference Manual ] MPE/iX 5.0 Documentation


HP Pascal/iX Reference Manual

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.



MPE/iX 5.0 Documentation