May 2019
Beginner to intermediate
548 pages
12h 39m
English
Once the checkpoint group is created, it is time to set up some assertions in the code. To to this, the following syntax is used:
ASSERT [ [ ID groupID [ SUBKEY key] ] [ FIELDS field 1 … ] CONDITION ] expression
The ID addition is used to assign the assertion to the group defined in the SAAB transaction and control it remotely. Although it is possible to omit this addition (resulting in an assertion that is always active), should the assertion fail, the runtime error will be triggered by the non-handleable ASSERTION_FAILED exception. The ID clause can be further specified with the SUBKEY addition—it can be followed by any character string and is used to easier identify assertions in the program.
The optional FIELDS addition ...
Read now
Unlock full access