previous
|
start
|
next
Syntax 9.1: Assertion
assert
condition
;
Example:
assert amount >= 0;
Purpose:
To assert that a condition is fulfilled. If assertion checking is enabled and the condition is false, an assertion error is thrown.
previous
|
start
|
next