TAL Reference Manual
Error Messages
Appendix A—526371.001
A-6
10
10
This message indicates one of the following conditions:
•
A declaration specifies addresses beyond the allowable range; for example:
INT i = 'G' + 300;
Declare at most 256 words of directly addressable data relative to 'G', 127 words
relative to 'L', and 31 words relative to 'S'.
•
A subprocedure parameter or a sublocal variable cannot be accessed because
other items have been pushed onto the data stack. Reorder the parameters or
sublocal data. For more information on “Sublocal Storage Limitations” and
“Sublocal Parameter Storage Limitations”, see the
TAL Programmer’s Guide, which
describes the limitations of sublocal storage.
•
The total of primary and secondary global variables exceeds 32K words. Reduce
the number or size of your global variables or move some of them to extended
memory.
•
The zeroth element of a global direct array is outside G-plus addressing. Declare
the array so that its zeroth element falls within G-plus addressing. If the array is
located at G[0], its lower bound must be a zero or negative value.
•
The upper bound of the last sublocal array is less than zero. Specify an upper
bound that is equal to or larger than zero.
•
The size of an indirect array (of structures) exceeds 32K words. Reduce the size of
the array.
•
The size of a local variable exceeds 128K bytes. Reduce the size of the local
variable.
•
A procedure that you compile with the SQL directive has more than 122 words of
primary local variables. Declare the excess words as indirect variables.
11
Conditions that cause this error include:
•
A variable appears where a constant is expected, or a constant appears where a
variable is expected. Replace
variable-name with a constant or variable as
required.
Address range violation
Illegal reference [variable-name]
[parameter-number]