Jump to content

Start from a main routine: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
mNo edit summary
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 719:
 
However, it's easy enough to create a ''main'' function and call that to start execution of the script.
<syntaxhighlight lang="ecmascriptwren">var main = Fn.new {
System.print("Hello from the main function.")
}
9,488

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.