This might make sense if you have multiple versions of a script with the
same name but in different locations - which doesn't necessarily seem like a
good idea but I don't know what you're aiming at.  I guess it might be
useful if you have old and new versions of a cluster of inter-related
scripts and you want to run them side-by-side?

On Thu, Apr 8, 2010 at 1:22 PM, Sprague, Webb (OFM) <[email protected]
> wrote:

> > > The problem is, if you put this in every script, your answer will be
> > based
> > > on whatever you last loaded.
> >
> > That was what he wanted.
>
> My overall goal is that if I load /foo/bar/script.ijs, I want to have
> commands in script.ijs that know to load other libraries relative to the
> file in which script.ijs was defined.  Does that make sense?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to