ERRORLEVEL
After compilation, the number of errors and warnings detected is output to the screen. The C166 Compiler then sets the ERRORLEVEL to indicate the status of the compilation. Values are listed in the following table:
| ERRORLEVEL | Description |
|---|
| 0 | No Errors or Warnings |
| 1 | Warnings Only |
| 2 | Errors and Possibly Warnings |
| 3 | Fatal Errors |
You can access the ERRORLEVEL in batch files. Refer to the Windows command reference or to batch commands in the Windows on-line help for more information on ERRORLEVEL or batch files.
Related Knowledgebase Articles