HP Pascal/iX Reference Manual (31502-90022)

1- 3
Table 1-0. (cont.)
HP Standard Options System Programming Options
ANSI EXTNADDR
LINES TYPE_COERCION
LIST
PAGE
PARTIAL_EVAL
RANGE
STANDARD_LEVEL
System-Dependent Compiler Options:
MPE/iX Only MPE/iX and HP-UX HP-UX Only
CALL_PRIVILEGE INCLUDE CONVERT_MPE_NAMES[REV BEG]
EXEC_PRIVILEGE INCLUDE_SEARCH GPROF
FONT NLS_SOURCE HP_DESTINATION
HP3000_16 SYMDEBUG SHLIB_CODE[REV END]
HP3000_32 SHLIB_VERSION
RLFILE
RLINIT
Refer to Chapter 12 for details about these options.
Conformant Array Parameters.
The ISO Level 1 Conformant Array Parameter feature is implemented in HP
Standard Pascal. This is the only feature in ISO Pascal that is not in
ANSI/IEEE Pascal.
This feature allows the user to pass an array as a parameter, whose
bounds are determined at run time and which conforms to the conformant
array parameter specification. The specification includes the names of
the array bounds. The values of the bounds of the actual array are given
when it is passed.
Constant Expressions.
The value of a declared constant may be specified with a constant
expression. A constant expression returns an ordinal or real value and
can contain only declared constants, literals, calls to the functions
ord, chr, pred, succ, hex, octal, binary, strlen, odd, and the operators
+, -, *, DIV, and MOD. Note that a constant expression can appear
anywhere that a constant can appear.
Constructors (Structured Constants).
The value of a declared constant can be specified with a constructor. A
constructor establishes values for the components of a previously
declared structured type. Constructors can only appear in a CONST
section of a declaration part of a block. Set constructors can appear
either in a CONST section or in expressions in executable statements.
Declaration Part.
In the declaration part of a block, CONST, TYPE, VAR, MODULE, and IMPORT
sections can be repeated and intermixed.