Hi Bill, I added the code and this is what I got: load 'd:\projects\smarteoe\bin\eoe.ijs' '0123456789abcdef' |domain error | h =:([:;:^:_1"1[:<"1 hfd)@(([:,_4(_2&(3!:4))@|.\])^:(2=3!:0)) |[-7403] d:\projects\smarteoe\bin\eoe.ijs I did a search and as I've noticed before, hfd and specifically h is defined here (result of search) c:\j602\system\main\convert.ijs (1) h=. '0123456789abcdef'
So looking at this, the standard library convert is automatically included during build and I specifically declared that the OLE32 class (from Oleg's pcall addon). Whats happening is one file is created where convert is the in the file prior to the ole32. Now I'm wondering if this is a bug in the load function or a loop-hole in the validation rules? r/alex -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bill lam Sent: Tuesday, August 19, 2008 4:01 PM To: General forum Subject: Re: [Jgeneral] Load VS 0!:0 Try inserting this before the offending line 1!:2&2] (5!:5 :: 0:) <'h' On Tue, 19 Aug 2008, Alex Rufon wrote: > Thanks. I did what you suggested and checked the class (load > 'general/pcall/ole32') and it was clean for the declaration of "h". > Unfortunately, this class is compiled/appended to one big file and doing > the load command on that big file fails. Arrggghhh (hair pulling time > ... it's a good thing that its normal for my family to be bald. > hehehehe). > > I was looking at "load" and it does quite a lot of stuff. Load actually > works on other script ... it's just this "compiled" code that's failing > on me. > > I'll do more tests. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Raul Miller > Sent: Tuesday, August 19, 2008 11:38 AM > To: General forum > Subject: Re: [Jgeneral] Load VS 0!:0 > > On Mon, Aug 18, 2008 at 11:34 PM, Alex Rufon > <[EMAIL PROTECTED]> wrote: > > |domain error > > | h =:([:;:^:_1"1[:<"1 hfd)@(([:,_4(_2&(3!:4))@|.\])^:(2=3!:0)) > > Is there any chance that h has some local definition at that point? > > I think that J gives us domain errors when we try and use global > assignment against a name that has a local definition. > > (Another possibility might be that hfd had a local noun definition, but > I think that you would have had four adjacent spaces appearing further > over to the right, the line of code displayed in the error message, if > that > were the case.) > > -- > Raul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
