ic is not defined in z on my system, so:

ic=: 3!:4

-- 
Raul

On Sat, Dec 29, 2012 at 7:08 PM, bill lam <[email protected]> wrote:
> Building and packaging base library is not scripted and
> needs some manual work. In the mean time you may try setting
>
> endian_z_=: |.^:('a'={.2 ic a.i.'a')
>
> in your jprofile or startup to workaround this error.
>
> Сб., 29 дек. 2012, Anssi Seppälä писал(а):
>> Thanks, just updated Package Manager but the problem is still there. However 
>> it is easy to fix by adding a erase line to jzplot - script.
>>
>> How it is informed when base library is rebuilt?
>>
>> t. Anssi
>>
>> -----Original Message-----
>> From: [email protected] 
>> [mailto:[email protected]] On Behalf Of bill lam
>> Sent: 29. joulukuuta 2012 13:07
>> To: [email protected]
>> Subject: Re: [Jprogramming] Name conflict in J system scripts - who cares ?
>>
>> Sorry, it should be Henry who fixed it.
>>
>> Сб., 29 дек. 2012, bill lam писал(а):
>> > Chris has already fixed in svn.
>> >
>> > I agree this is a nasty bug, the reason why it does not affect J701 is
>> > that dll is part of stdlib and loaded during booting and  load'dll' is
>> > a no-op.
>> >
>> > Пт., 28 дек. 2012, Anssi Seppälä писал(а):
>> > > My J602 development broke suddenly after a JAL update. The built script 
>> > > did not work in runtime. The reason appears to be in a name conflict in 
>> > > two different scripts that are added in same build: dll.ijs and 
>> > > jzplot.ijs. Both scripts declare name "endian": jzplot.ijs locally in 
>> > > class locale and dll.ijs globally in locale z and. The second assignment 
>> > > causes domain error while running the script.
>> > >
>> > > You can simulate the situation by running the following lines in a 
>> > > script (24.ijs):
>> > >
>> > > cocurrent'test'
>> > > a=. 12
>> > > cocurrent 'z'
>> > > a=: 13
>> > >
>> > > load 'C:\j602\user\temp\24.ijs'
>> > > |domain error: script
>> > > |   a    =:13
>> > > |[-3] C:\j602\user\temp\24.ijs
>> > >
>> > >
>> > > The script jzplot.ijs includes a executed line jzplot class locale:
>> > > endian=. ({.a.)={. 1&(3!:4) 1
>> > >
>> > > and dll.ijs includes a executed line in z locale:
>> > > endian=: |.^:('a'={.2 ic a.i.'a')
>> > >
>> > >
>> > > I have only questions:
>> > > Which script (jzplot.ijs or dll.ijs) should be fixed and how ? Who will 
>> > > do the fix and how such conflicts causing such nasty errors could be 
>> > > avoided in the future?
>> > >
>> > > Anssi
>> > > --------------------------------------------------------------------
>> > > -- For information about J forums see
>> > > http://www.jsoftware.com/forums.htm
>> >
>> > --
>> > regards,
>> > ====================================================
>> > GPG key 1024D/4434BAB3 2008-08-24
>> > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>>
>> --
>> regards,
>> ====================================================
>> GPG key 1024D/4434BAB3 2008-08-24
>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to