Modulinos: Difference between revisions
Content added Content deleted
Line 593: | Line 593: | ||
echo 'Main: The meaning of life is ', > 'd' (8!:0) meaningOfLife |
echo 'Main: The meaning of life is ', > 'd' (8!:0) meaningOfLife |
||
exit '' |
exit '' |
||
) |
|||
program =: monad : 0 |
|||
if. (#;.1 ARGV) > 0 do. |
|||
> 1 { ARGV |
|||
else. |
|||
'Interpreted' |
|||
end. |
|||
) |
) |
||
shouldrun =: monad : 0 |
shouldrun =: monad : 0 |
||
if. '.*scriptedmain.*' rxeq |
if. '.*scriptedmain.*' rxeq program 0 do. |
||
main 0 |
main 0 |
||
end. |
end. |