Ceylon (programming language): Difference between revisions

Content deleted Content added
CPColin (talk | contribs)
m Version bump
Line 208:
| accessdate=2015-12-04
| last=King | first=Gavin}}</ref>
 
== Entry point with name==
 
A Ceylon program must have a main function called run():
 
/* The classic Hello World program */
shared void run() {
print("Hello, World!");
}
 
but any other function can be used as main calling the program with the --run parameter, like this:
 
ceylon run --compile=force --run hello default
 
== License ==