This procedure is a simple routine to check assumptions during programming. If, at any time, an assertion fails to be true, the program halts with an error message.
The procedure evaluates whether the assertion is true or false. If true, the program exists quietly. If false, the program issues an error message and exits
- assertion in required
A boolean expression believed to be true
- msg in required
An optional string to print when the assertion fails
April 2009- Written by Chris Beaumont July 2011- Added msg input. cnb.
|Modifcation date:||Fri Jul 1 11:15:57 2011|