Halt and catch fire: Difference between revisions

Added a shorter solution.
(Added a shorter solution.)
Line 349:
Another solution with the same number of characters (we could also use <code>mod</code> instead of <code>div</code>):
<syntaxhighlight lang="text">echo 1 div 0</syntaxhighlight>
 
But the shortest solution may be:
<syntaxhighlight lang="nim">assert 1==0</syntaxhighlight>
 
=={{header|Pascal}}==
256

edits