title: Is there a way to run julia script with arguments from REPL?
body: <p>I can run julia script with arguments from Powershell as <code>&gt; julia test.jl 'a' 'b'</code>. I can run a script from REPL with <code>include("test.jl")</code> but <code>include</code> accepts just one argument - the path to the script. </p>
  
  <p>From playing around with <code>include</code> it seems that it runs a script as a code block with all the variables referencing the current(?) scope so if I explicitly redefine <code>ARGS</code> variable in REPL it catches on and displays corresponding script results:</p>
  
  <pre><code>&gt;ARGS="c","d"
  &gt;include("test.jl") # prints its arguments in a loop
  c
  d
  </code></pre>
  
  <p>This however gives a warning for redefining <code>ARGS</code> and doesn't seem the intended way of doing that. Is there another way to run a script from REPL (or from another script) while stating its arguments explicitly? </p>