Anonymous user
Assertions: Difference between revisions
→{{header|Aime}}
No edit summary |
|||
Line 13:
=={{header|Aime}}==
<lang aime>
x = 41;
if (x != 42) {
error("x is not 42");
}</lang>
Executing the program will produce on standard error:
<pre>aime: assert: 5: x is not 42</pre>
=={{header|ALGOL 68}}==
|