Errors and Warnings
Syntax and semantic errors typically occur in the source program. They identify actual programming errors. When an error is encountered, the compiler attempts to recover from the error and continue processing the source file. As more errors are encountered, the compiler outputs additional error messages. No object file is produced once an error is encountered.
Warnings produce information about potential problems which may occur during program execution. Warnings do not hinder compilation of the source file.
Errors and warnings are formatted as follows:
*** ERROR number IN LINE line OF file: message
*** WARNING number IN LINE line OF file: message
Where
| number | is the error number. |
| line | is the line number where the error was detected. |
| file | is the source or include file in which the error was detected. |
| message | is a brief description of the error or warning. |
The errors and warnings output by the compiler may be limited by the WARNINGLEVEL directive.