Code Golf: Code Golf: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 157: | Line 157: | ||
Without quoted literals (22 characters): |
Without quoted literals (22 characters): |
||
<syntaxhighlight lang="dc">16i436F646520476F6C66P</syntaxhighlight> |
<syntaxhighlight lang="dc">16i436F646520476F6C66P</syntaxhighlight> |
||
=={{header|Delphi}}== |
|||
{{works with|Delphi|6.0}} |
|||
{{libheader|}} |
|||
Delphi says the code size 5,180 bytes. Looking at the assembly language that is generated, the 132 bytes. The difference must be the Windows overhead for a console application. |
|||
<syntaxhighlight lang="Delphi"> |
|||
program Project1; |
|||
{$APPTYPE CONSOLE} |
|||
begin |
|||
WriteLn('code golf'); |
|||
WriteLn(#67,#111,#100,#101,#32,#71,#111,#108,#102); |
|||
end. |
|||
</syntaxhighlight> |
|||
{{out}} |
|||
<pre> |
|||
Code Golf |
|||
Code Golf |
|||
</pre> |
|||
=={{header|EasyLang}}== |
=={{header|EasyLang}}== |