[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
FreeM Extension
Triggers error ASSERT
if the supplied truth-valued expression tvexpr is false (1 is true, and 0 is false), and that the optional postcondition evaluates to true or is omitted.
The ASSERT
error is catchable whether using standard-style, FreeM-style, or DSM 2.0-style error processing.
Syntax
ASSERT:postcondition <tvexpr>
Example
USER> SET DEBUG=1 USER> ASSERT:DEBUG 1=1 USER> ASSERT:DEBUG 1=0 >> Error ZASSERT: programmer assertion failed in SYSTEM::^%SYS.INIT [$STACK = 0] >> ASSERT:DEBUG 1=0 ^
This document was generated on September 20, 2023 using texi2html 5.0.