HP Pascal/iX Reference Manual (31502-90022)

12- 71
A standard level violation (use of a language feature that is not
available at the current standard level) causes the compiler to issue a
warning, except if the violation involves a reserved word, in which case
it is an error.
NOTE The STANDARD_LEVEL compiler option also accepts the Pascal/V
standard levels 'HP' and 'HP3000', which it treats like
'HP_PASCAL'.
Example
$STANDARD_LEVEL 'ANSI'$ {equivalent to $ANSI ON$}
$OS 'MPE'$
PROGRAM show_level (output);
PROCEDURE proc1;
VAR
i : integer;
b : Boolean;
BEGIN
assert(b,i);
^
**** WARNING #1 THIS FEATURE REQUIRES $STANDARD_LEVEL 'HP_PASCAL'$ (539)
i := 0;
b := true;
END;
BEGIN
END.
Figure 12-4 illustrates the relationship between the STANDARD_LEVEL
parameters.
Figure 12-4. Relationships Between STANDARD_LEVEL Compiler Option Parameters