You can cheat, but it may not be fully general:

-- hello.jl
println("hello, $(ARGS[1])")
-- end hello.jl

> jldev -e "include(\"hello.jl\")" world
hello, world


On Fri, Jun 6, 2014 at 12:17 AM, Stefan Karpinski <[email protected]>
wrote:

> You can't. This is pretty standard among "scripting languages" that can be
> invoked either interactively or to run a script (e.g. Ruby, Perl, Python).
>
>
> On Fri, Jun 6, 2014 at 12:10 AM, Francilio Araújo <
> [email protected]> wrote:
>
>> How can I run a script interactively but passing arguments?
>>
>
>

Reply via email to