the verb "load" makes some assumptions that you had intended to load a script under ~addons , you can make your filename an absolute path as a hint to the verb "load". An alternative is use 0!:0 (or its variant) eg > 0!:0 <'home/.......'
If don't want possibly locale change, make a cover verb for it , eg > myload_z_=: 3 : '0!:0 y[4!:55''y''' On 25.06.2014, at 23:52, Jon Hough <[email protected]> wrote: > I have a script lying somewhere on my system (not in my J system directory). > If I try to load it thus: > load 'home/path/to/my/script.ijs' > > I get the following error: > |file name error: script| 0!:0 y[4!:55<'y' > However if I try to read it: > fread 'home/path/to/my/script.ijs' > It outputs the text of my script file into my J session, as expected. > So I am not really sure what my error is. The script exists and is in the > place specified. > Notes: > I'm using Linux with J801. (also tried it with J602, which I have on my PC > too -- same error ). > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
