Looks right. An easy mistake to make. That's why I always check that scripts load after I muck around with them.
On Tue, Jun 10, 2014 at 11:23 AM, Dan Bron <[email protected]> wrote: > Looks like the tilde (passive) was misplaced. I think: > > LIB~;libf ... > > Should be: > > LIB;~libf ... > > That is, move the ~ from before the ; to after it. As it stands, I'd be > surprised if this script loaded on any platform. > > -Dan > > ----- Original Message --------------- > > Subject: [Jprogramming] Bug in zfiles addon > From: John Baker <[email protected]> > Date: Tue, 10 Jun 2014 11:14:38 -0500 > To: Programming forum <[email protected]> > > I have run across a bug in the zfiles addon. It wreaks zfiles.ijs on all > windows versions of J from 6 to 8. > > The problem occurs on line 37, (commented out below), the LIB assignment > fails. If you comment this line out the addon runs fine on win32 systems. > I haven't > tried it on other systems but until this is fixed zfiles.ijs will not load. > > Here are the bad lines with the bad boy marked: > > libp=. #.IFWIN,'Darwin'-:UNAME > libf=. libp{:: 'zlibapi'; 'libzlib'; 'zlibwapi';'' > libe=. libp{:: 'so' ; 'dylib' ; 'dll' ;'' > libf=. libf,IF64#'64' > LIB=: jpath ADDONDIR,'lib/',libf,'.',libe > NB. LIB=: (fexist LIB){::LIB~;libf,'.',libe NB. BUG: in zfiles.ijs > > -- > John D. Baker > [email protected] > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- John D. Baker [email protected] ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
