Talk:Halt and catch fire: Difference between revisions
Content added Content deleted
(→A bit limited ?: struck some comments as they no longer apply.) |
|||
Line 9: | 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) |
::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, the messages can vary from REXX to REXX, but for Regina REXX, the output shown to my terminal (a Windows DOS "boxed" screen) is: |
::: It "crashes" the REXX interpreter, the messages can vary from REXX to REXX, but for Regina REXX, the output shown to my terminal (a Windows DOS "boxed" screen) is: |
||
<pre> |
<pre> |
||
Line 26: | Line 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. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 18:37, 15 September 2021 (UTC) |
::: 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. -- [[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) |
:::: 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) |