SOM_Assert - Remarks
The SOM_Assert macro is used to place boolean assertions in
a program:
- If condition is FALSE, and errorCode
indicates a warning-level error and SOM_WarnLevel is set to be greater
than zero, then a warning message is output.
- If condition is FALSE and errorCode indicates
a fatal error, an error message is output and the process is terminated.
- If condition is TRUE and SOM_AssertLevel
is set to be greater than zero, then an informational message is output.
External (Global) Data
long SOM_WarnLevel; /* default = 0 */ long SOM_AssertLevel; /* default 0 */
[Back: SOM_Assert - Parameters]
[Next: SOM_Assert - Expansion]