El lunes, 3 de marzo de 2014 09:53:17 UTC-6, David P. Sanders escribió: > > > > El lunes, 3 de marzo de 2014 09:52:30 UTC-6, David P. Sanders escribió: >> >> Hi, >> >> How can I specify command line arguments for a `.jl` script in the >> `reload` command? >> [I am a fan of IJulia, but for tweaking code it still seems to be more >> efficient to use an editor (Sublime Text) -- is this other peoples' >> experience too?] >> >> On a related note, is there a description somewhere of the differences >> between `using`, `require`, `include`, `reload`, etc.? >> This is still very confusing for me! >> > > > To be more precise, I would like to run my script, but then drop into the > REPL in order to interrogate the output, as I would do in IPython. >
OK, I found a good solution, which is to not use command-line arguments at all... Or, rather, to package everything into a main function, and process the command-line arguments (and automatically call the main function) only if they are there. Nonetheless, my curiosity wants to know the answer to the original question (or, rather, 2 questions). Thanks, David. > > >> >> Thanks, >> David. >> >
