Content deleted Content added
Jerryobject (talk | contribs) m Template:Infobox programming language parameters: move, add, fill. |
→Entry point with names: there is no "needs to have a run function" |
||
Line 214:
=== Entry point with names===
By default the starter (<code>ceylon run</code>) runs the shared run() function of a module:
<source lang="ceylon">
/* The classic Hello World program */
Line 221:
}
</source>
but any other shared function without parameters can be used as main calling the program with the --run parameter, like this:
<code>ceylon run --compile=force --run hello default</code>
|