HP Pascal/iX Reference Manual (31502-90022)

1- 5
*
Prompt
displays the output buffer without writing a line marker.
This allows the cursor to remain on the same screen line when
output is directed to a terminal.
The routine
associate
allows Pascal input/output operations on files that
have been opened by the operating system. The routine
disassociate
disallows these operations.
Function Return.
A function can return any structured type, except those containing files.
That is, a function may return an
array, record, set,
or
string
.
Longreal Numbers.
The type
longreal
is identical to the type real except that it provides
greater precision. The letter "L" precedes the scale factor in a
longreal literal
.
Minint.
The standard constant
minint
is defined in HP Pascal. The value is
implementation dependent. The type integer is defined as a subrange
minint...maxint
.
Minint
is less than or equal to
maxint.
Formal Parameter Congruency.
Two formal parameter lists are congruent if they contain an equal number
of parameters and each parameter in one list is equivalent to the
parameter in the same position in the other list. The formal parameter
lists do not need to be syntactically the same.
Record Variant Declaration.
The variant part of a record field list may have a subrange as a case
constant and need not specify all the case constants for the tag type.
String or Character Literals.
HP Pascal permits the encoding of control characters or any other single
ASCII character after the sharp symbol (#). For example, the string
literal #G represents CTRL-G (or the bell). A character can also be
encoded by specifying its ASCII ordinal value (0..255) after the sharp
symbol. For example, #7 represents CTRL-G. These characters can be
included in string literals by directly appending them in front of or
behind a string literal.
String Type.
HP Pascal supports the predefined type string. A string type is a PACKED
ARRAY of CHAR with a declared maximum length and an actual length that
may vary at run time. All HP Pascal implementations have maximum lengths
of at least 255 characters.