Assertion


Used to check if a condition is true; if not the program stops with an error and the text between # characters is displayed.

Assertion (initial) # Check no negative values #

(all,c,COM) DVHOUS(c) >= 0 ;

The (INITIAL) is optional; it causes the condition to be checked on the first step only.

You can activate or disactivate assertions with a statement in your CMF file:

Assertions = YES|no|warn; ! default is yes

back to TABLO language contents



URL of this topic: www.copsmodels.com/webhelp/tabmate/hc_assertion.htm

Link to full GEMPACK Manual

Link to GEMPACK homepage