Jump to content

Start from a main routine: Difference between revisions

m
Line 136:
 
For instance if file1.of is :
<lang Oforth>func: mysleepmain(n)
{
"Sleeping..." println
Line 152:
 
With this file (for instance file2.of) :
<lang Oforth>func: mysleepmain(n)
{
"Sleeping..." println
Line 176:
Awake and leaving.
</pre>
 
Of course, "main" as function name to launch is not required : every name is ok.
 
=={{header|PARI/GP}}==
1,015

edits

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