Empty program: Difference between revisions

Content added Content deleted
No edit summary
Line 79: Line 79:


=={{header|BASIC}}==
=={{header|BASIC}}==
{{works with|QBasic}}
{{works with|QBASIC}}
{{works with|Quick BASIC}}
<lang qbasic>10 END</lang>
{{works with|Free BASIC}}
An empty file is a correct program. It won't be near empty as an executable file, though.
<lang qbasic></lang>
{{works with|ZX Spectrum Basic}}
{{works with|ZX Spectrum Basic}}
On the ZX Spectrum, we can have a completely empty program with no lines. Here we attempt to run the empty program:
On the ZX Spectrum, we can have a completely empty program with no lines. Here we attempt to run the empty program: