Jump to content

Start from a main routine: Difference between revisions

Added Easylang
(Added Easylang)
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,069

edits

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