Halt and catch fire: Difference between revisions
Content added Content deleted
(GDScript) |
No edit summary |
||
Line 138: | Line 138: | ||
=={{header|Crystal}}== |
=={{header|Crystal}}== |
||
<syntaxhighlight lang="crystal">raise "fire"</syntaxhighlight> |
<syntaxhighlight lang="crystal">raise "fire"</syntaxhighlight> |
||
=={{header|Delphi}}== |
|||
{{works with|Delphi|6.0}} |
|||
{{libheader|SysUtils,SysUtils,StdCtrls}} |
|||
The program uses Delphi's builtin exception processing to throw an exception. Uncaught except about a program |
|||
<syntaxhighlight lang="Delphi"> |
|||
procedure HaltAndCatchFire; |
|||
begin |
|||
raise Exception.Create('Burning to the ground'); |
|||
end; |
|||
</syntaxhighlight> |
|||
{{out}} |
|||
<pre> |
|||
</pre> |
|||
=={{header|F_Sharp|F#}}== |
=={{header|F_Sharp|F#}}== |