Halt and catch fire: Difference between revisions

add BQN
m (syntax highlighting fixup automation)
(add BQN)
Line 103:
=={{header|C}}==
<syntaxhighlight lang="c">int main(){int a=0, b=0, c=a/b;}</syntaxhighlight>
 
=={{header|BQN}}==
The easiest way to terminate with an error is using assert (<code>!</code>):
<syntaxhighlight lang="bqn">! "Insert value that is not 1"
"Error Message" ! "Value that is not 1, again"</syntaxhighlight>
 
Other runtime errors are possible, but not as easy to use.
 
=={{header|C++}}==
236

edits