Constraints

(assert | pre | post | inv) condition

If a constraint condition is False when checked, a debugging environment should report the violation and stop the program. In a program that may not stop, nothing happens.

Compilers used to compile programs which may not stop on errors are expected to produce warnings for every constraint condition which might not always result in True when checked.

Implementation note.


Herman Venter


This is Slim documentation as snarfed on 27 May 1999 by dB.