Modulinos: Difference between revisions
m
→{{header|Wren}}: Minor tidy
m (→{{header|Wren}}: Minor tidy) |
|||
(One intermediate revision by one other user not shown) | |||
Line 442:
<syntaxhighlight lang="emal">
^|Then we create a new module named Modulinos.emal,
|this
|^
in Org:RosettaCode
Line 2,019:
First we create a module for our modulino:
<syntaxhighlight lang="
var MeaningOfLife = Fn.new { 42 }
Line 2,029:
// Check if it's being used as a library or not.
import "os" for Process
if (Process.allArguments[1] == "
main.call()
}</syntaxhighlight>
Line 2,040:
Next we create another module which imports the modulino:
<syntaxhighlight lang="
import "./
var main = Fn.new {
|