Julia: pass args to a Julia script

From a terminal, CLI or backticked command in a Julia script, etc, we can…. julia path/to/script.jl arg1 “arg 2” …Then in the receiver script.jl… first_arg = ARGS[1] Base.ARGS captures all the args that are passed in from the command to start the script, as strings. No need to parse or such things. If we wantContinue reading “Julia: pass args to a Julia script”

Design a site like this with WordPress.com
Get started