Newbie question: Why don't I get any output from the following programs
when I run them from the command line on my Macbook pro (OS 10.11.4) or two
different versions of Linux. Everything works as expected when the programs
are run in the REPL.
On the Mac I use the following in my PATH.
/Applications/Julia-0.4.5.app/Contents/Resources/julia/bin
Command line: julia hello.jl
function hello()
println("Hello World")
return
end
Command line: julia five.jl
function five()
return 5
end
The scripts run fine with no apparent errors or warnings. They just don't
produce any output.
Thanks,
Rich