[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.34 ZASSERT

Triggers error ZASSERT if the supplied truth-valued expression tvexpr is true (1 is true, and 0 is false).

The ZASSERT error is catchable whether using standard-style, FreeM-style, or DSM 2.0-style error processing.

Syntax

 
 ZASSERT <tvexpr>

Example

 
USER> ZASSERT 1=1
 
 
USER> ZASSERT 1=0
 
 
>> Error ZASSERT:  programmer assertion failed in SYSTEM::^%ZFREEM  [$STACK = 0]
>> ZASSERT 1=0
              ^

[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by root on October 14, 2020 using texi2html 1.82.