[julia-users] Re: warning with @load in JLD

2016-08-30 Thread Ethan Anderes
Terrific. The second option works great (and will be my first sanctioned use of eval...been avoiding it like the plague after reading all the warnings about it on google groups). Thanks! Ethan On Tuesday, August 30, 2016 at 12:37:44 PM UTC-7, Simon Kornblith wrote: > > The reason this

[julia-users] Re: warning with @load in JLD

2016-08-30 Thread Simon Kornblith
The reason this particular form of @load now shows a warning is that it can't be made to work properly in a function. If you can't know either the file name or the variable names ahead of time, there are two things you could do: - Use the load function (e.g. x = load("data_run$(run).jld"))