Once you have the library name you simply use it with the other scripts. Say that the name "lib" contains the library name. Then load lib,'\another script.ijs' will load another script.
On Thu, Apr 8, 2010 at 12: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 > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
