Empty program: Difference between revisions

Content deleted Content added
PatGarrett (talk | contribs)
Eoraptor (talk | contribs)
+Stata
Line 1,045: Line 1,045:


Actually, the smallest possible correct program in Standard ML is an empty source file.
Actually, the smallest possible correct program in Standard ML is an empty source file.

=={{header|Stata}}==
Stata does not accept an empty program, so we have to do something. Here we only declare the minimum [http://www.stata.com/help.cgi?version version] of the interpreter for the program.

<lang stata>program define nop
version 15
end</lang>

It's also possible to define an empty function in Mata.

<lang stata>function nop() {
}</lang>


=={{header|Suneido}}==
=={{header|Suneido}}==