Talk:Halt and catch fire: Difference between revisions

→‎A bit limited ?: struck some comments as they no longer apply.
(→‎A bit limited ?: struck some comments as they no longer apply.)
Line 9:
::Thanks Gerard. What does your impressively minimal REXX program do ? --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 17:24, 15 September 2021 (UTC)
 
 
<strike>
::: It "crashes" the REXX interpreter, &nbsp; the messages can vary from REXX to REXX, but for Regina REXX, &nbsp; the output shown to my terminal &nbsp; (a Windows DOS "boxed" screen) &nbsp; is:
<pre>
Line 26 ⟶ 28:
 
::: I could've chosen some other character, but a lone equal sign seemed (to me) a very succinct way to "crash" a REXX interpreter without use some other "special" character. &nbsp; &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 18:37, 15 September 2021 (UTC)
</strike>
 
:::: But... isn't that a compilation error, as opposed to a runtime "crash"? I suspect pretty much every programming language on rc (all 800+ of them) would trigger the same. I think the task is implicitly asking for something more akin to "if 2+2<>4 then = " to compile cleanly and not crash, but "if 2+2<>5 then = " to crash, (and again implicitly) at runtime. Obviously where (the condition and) "=" is language specific. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 01:28, 16 September 2021 (UTC)