HP Pascal/HP-UX Release Notes Version A.10.08

Chapter 1 51
New and Changed Features
Porting HP Pascal/HP-UX Programs
a. Available with semantic differences on all HP-UX implementations.
Table 1-10 lists options that are specific to Series 700/800 as well as
options that have the same name on Series 300/400 but different
semantics.
Table 1-10 Compiler Options Specific to Series 700/800
LONGSTRINGS Extends the maximum length of strings from 255 characters to
virtually any length.
RANGE
a
Does run-time checks for range errors.
SAVE_CONST Controls scope of structured constants.
SEARCH
a
Specifies files to be used to satisfy IMPORT declarations. This
option must be the last option on an option list.
SEARCH_SIZE Changes number of external files that can be searched. The
default is 9.
STANDARD_LEVEL
a
Defines the compatibility level with various versions of Pascal.
TABLES
a
Turns on the listing of symbol tables. TABLES cannot be used
within a procedure body.
UNDERSCORE Causes ALIAS parameters to have an underscore added as a
prefix.
XREF
a
Used with LIST ON, the listing includes a cross reference for each
function, procedure, and outer block.
Compiler Option Effect
Compiler Option Effect
ALIGNMENT Changes storage alignment for types other than strings and file
types.
ANSI
a
The compiler issues an error message when it encounters a
feature in the source code that is illegal in ANSI Standard
Pascal. $ANSI ON$ is equivalent to $STANDARD_LEVEL
'ANSI'$.
ASSERT_HALT Causes the program to halt if the assert function fails.