Jump to content

Start from a main routine: Difference between revisions

Undo revision 362116 by Chkas (talk)
(Added Easylang)
(Undo revision 362116 by Chkas (talk))
Line 180:
=={{header|Erlang}}==
When started Erlang enters a REPL (read-eval-print loop). To call a function called main in the module m you do: erl -run m main argument1 argument 2 ...
 
=={{header|EasyLang}}==
<syntaxhighlight>
proc main . .
print "Hello from main!"
.
main
</syntaxhighlight>
 
=={{header|Factor}}==
2,060

edits

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