HP Pascal/iX Reference Manual (31502-90022)

A-: 7
function that is not legal in a constant expression.
The expression contains constant operands that are not legal;
for example, set or Boolean values.
ACTION Check the constant expression for a variable, or illegal type
of operand.
---------------------------------------------------------------------------------------
019 MESSAGE INVALID FORWARD TYPE IDENTIFIER DEFINITION (019)
CT CAUSE The identifier appeared in a forward pointer type definition
and is now being declared as something other than a type.
ACTION Check the FORWARD definition.
---------------------------------------------------------------------------------------
020 MESSAGE BOOLEAN EXPRESSION IS REQUIRED HERE (020)
CT CAUSE An expression with a Boolean result is required here.
ACTION Check the source and correct the expression.
---------------------------------------------------------------------------------------
021 MESSAGE AN ORDINAL EXPRESSION IS REQUIRED HERE (021)
CT CAUSE An expression with an ordinal result is required here.
ACTION Check the source and correct the expression.
---------------------------------------------------------------------------------------
022 MESSAGE INCOMPATIBLE SUBRANGE BOUNDS (022)
CT CAUSE The type of the lower bound is not compatible with the type of
the upper bound in a subrange.
ACTION Check the type of the lower and upper bounds and make them the
same.
---------------------------------------------------------------------------------------
023 MESSAGE AN INTEGER EXPRESSION IS REQUIRED HERE (023)
CT CAUSE An expression with an integer result is required for the repeat
factor in the 'OF' construct in an array constructor.
ACTION Check the source code and correct the expression.
---------------------------------------------------------------------------------------
024 MESSAGE LOWER BOUND OF SUBRANGE IS GREATER THAN UPPER BOUND (024)
CT CAUSE The lower bound is greater than the upper bound in a subrange
type declaration.
ACTION Increase the upper bound, or decrease the lower bound.
---------------------------------------------------------------------------------------
025 MESSAGE FOUND UNEXPECTED "! " (025)
CT CAUSE The compiler was not expecting this token and it has been
discarded. The token is illegal here or a previous
undetectable error has caused the compiler to issue this
message; for example, a semicolon ( ; ) before ELSE.