Anonymous user
Assertions: Difference between revisions
no edit summary
No edit summary |
|||
Line 11:
Assert (A = 42, "Oops!");</lang>
The procedure Assert propagates Assertion_Error when condition is false.
=={{header|Aime}}==
<lang aime></lang>
Executing the program will produce on standard error:
<pre></pre>
=={{header|ALGOL 68}}==
|