Halt and catch fire: Difference between revisions
Content added Content deleted
SqrtNegInf (talk | contribs) (Added Perl) |
(added header Pascal) |
||
Line 47: | Line 47: | ||
</pre> |
</pre> |
||
The output depends on the compiler and platform but should be similar. |
The output depends on the compiler and platform but should be similar. |
||
=={{header|Pascal}}== |
|||
{{Works with|Free Pascal}} Do an illegal memory access at $0 |
|||
<lang pascal>begin pByte($0)^ := 0 end.</lang> |
|||
{{out}} |
|||
<pre>Runtime error 216 at $0000000000401098</pre> |
|||
=={{header|Perl}}== |
=={{header|Perl}}== |
||
<lang perl>&a</lang> |
<lang perl>&a</lang> |