HP Pascal/iX Reference Manual (31502-90022)

3- 8
information.
Syntax
Enumerated_id_list:
Permissible Operators
assignment :=
relational <, <=, =, <>, >=, >, IN
Standard Functions
enumerated argument - ord
pred
succ
enumerated return - pred
succ
Standard Procedures
prompt strread
read strwrite
readdir writedir
readln writeln
Example
TYPE
days = (monday, tuesday, wednesday, thursday, friday, saturday, sunday);
color = (red, green, blue, yellow, cyan, magenta, white, black);
Integer.
The
integer
type is a predefined, ordinal type whose possible values are
determined by a subrange of the negative and positive integers. The
lower bound of the subrange is the predefined constant
minint
, and the
upper bound is the predefined constant
maxint
. The integer type
represents a signed number of at least nine digits.
Permissible Operators
assignment :=
relational <, <=, =, <>, >, >=, IN
arithmetic +, -, *, /, DIV, MOD
Standard Functions
integer argument abs exp pred
-
arctan ln sin