ASSERT
General Forms:
ASSERT numeric_expression, string_expression
The ASSERT statement takes a numeric expression and a string literal. If the expression evaluates to FALSE then execution stops and a PANIC file is written with the condition and provided string included in the header of the dump. They can be useful for expressing things in code that should always be true.
The behaviour of ASSERT statements can be controlled with $OPTIONS RUN byte 68 (OPTIONS_RUN_Asserts).
FLD($OPTIONS RUN.OPTIONS_RUN_Asserts) = _KCML_ASSERT_TEST
ASSERT angles(1) + angles(2) + angles(3) == 180, "Triangle has impossible angles"
See also: