Ceylon (programming language): Difference between revisions

Content deleted Content added
m Entry point with names: <source lang="ceylon">
Line 212:
 
A Ceylon program must have a main function called run():
<source lang="ceylon">
 
/* The classic Hello World program */
shared void run() {
print("Hello, World!");
}
</source>
 
but any other function can be used as main calling the program with the --run parameter, like this: