TAL Reference Manual
Compiler Directives
TAL Reference Manual—526371-001
16-37
ERRORS Directive
ERRORS Directive
ERRORS sets the maximum number of error messages to allow before the compiler
terminates the compilation.
num-messages
is the maximum number of error messages to allow before the compilation
terminates. Specify an unsigned decimal constant in the range 0 through 32,767.
Usage Considerations
ERRORS can appear in the compilation command or anywhere in the source code. A
single error can cause many error messages. The compiler counts each error message
separately. If the compiler’s count exceeds the maximum you specify, the compiler
terminates the compilation. (Warning messages do not affect the count.)
If you do not specify ERRORS, the compiler does not terminate the compilation
because of the number of errors.
Example of ERRORS Directive
This example specifies that the compiler terminate the compilation when 10 error
messages are emitted:
!This is MYSOURCE file
?ERRORS 10
!Global declarations
EXTENDSTACK Directive
EXTENDSTACK increases the size of the data stack in the user data segment.
VST1620.vsd
=
ERRORS
num-messages
VST1621.vsd
=
EXTENDSTACK
num-pages