Empty program: Difference between revisions
Content deleted Content added
Added Crystal |
|||
Line 1,166:
=={{header|PHP}}==
An empty text file is a correct PHP program that does nothing.
=={{header|Picat}}==
By default, Picat calls the <code>main/0</code> predicate:
<lang Picat>main.</lang>
{{out}}
<pre>$ picat empty_program.pi
</pre>
An shorter way is this program
<lang Picat>x.</lang>
but then an explicit goal at command line (<code>-g x</code>) must be given.
{{out}}
<pre>$ picat -g x empty_program2.pi
</pre>
=={{header|PicoLisp}}==
|