To control the Compiler Warning system.
Unlike compiler errors, compiler warnings are not fatal to compilation, but allow adding of informative messages for developers.
CompilerWarnings {option}
Where {option} is one of:
Off – disables compiler warnings until they are reenabled
On – reenables compiler warnings
Suspend – disable compiler warnings until end of the current file
Restart – unconditionally turns compiler warnings back on
The warning system allows these commands to be nested. Each level of nesting increments an internal warnings-off counter, which will not be reenabled until that count goes to 0. Think of it as Lock/Unlock.
CompilerLevelWarning allows control of specific compiler warnings.
The #Warning compiler directive allows the addition of a compiler warning to code.