HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

a- 3
------------------------------------------------------------------------------------
12 MESSAGE Attempt to redeclare a variable, VAR, in line N.
CAUSE An already declared variable VAR is being redeclared in line N.
ACTION Only declare the variable once.
------------------------------------------------------------------------------------
15 MESSAGE Invalid bounds on array dimension or string length.
CAUSE Strings or arrays are declared with an invalid bound. E.g.
DIM A$[0]
ACTION Change the declaration to use a valid bound.
------------------------------------------------------------------------------------
16 MESSAGE Improper array dimensions.
CAUSE 1. An array is defined with an invalid dimension or defined
with more than 6 dimensions. For example, DIM A(-1).
2. A MAT statement detected that one of the operands is not
properly dimensioned for that particular matrix operation.
Example : MATA=B*Cwhere B is not dimensioned the same as
C.
ACTION Redefine the array with a valid dimension.
------------------------------------------------------------------------------------
17 MESSAGE Subscript out of range.
CAUSE When an array element is referenced, the subscript is outside
the range of the array. For example, accessing element 3 of a
2-element array.
ACTION Check subscript for correct range.
------------------------------------------------------------------------------------
18 MESSAGE 1. Substring out of range or substring too long.
2. Input string too long.
CAUSE 1. This error is most often caused by incompatible string or
substring assignment. For example, assigning a string to
another string of shorter length, or referencing a string
beyond its actual length.
2. Trying to input A string that is longer than the max length
of the receiving variable has been input.
ACTION 1. Make sure the string being referenced is within its actual
and maximum length.
2. Input a shorter string, or use substring input.
------------------------------------------------------------------------------------
19 MESSAGE 1. Improper value in program statement.
2. Computed GOTO/GOSUB expression out of range.
CAUSE Message 1 : An improper value is detected when evaluating
binary built-in functions BITLR and BITRL.
Message 2 : An improper value is detected when executing the
ON X GOTO/GOSUB statement. For example, X contains a value
that is outside of its intended range.
ACTION Check program for correct value.
------------------------------------------------------------------------------------
20 MESSAGE 1. SHORT INTEGER precision overflow.
2. Numeric expression for CAUSE ERROR must be in SHORT INTEGER