ven, 15 Jan 2010, Bill Harris skribis: > Is any of this code called by 'names' perhaps? Is this behavior > correct? > > I'm trying to verify that datasheet exists before trying to do > anything with it. Assuming this is the problem, is there a good, > robust way to test for the existence of datasheet other than > > # 'datasheet' names 0 > > that's recommended? >
Yes now I can see that names list...@nl and list_z_ calls wcsize but wcsize calculate the width of an ijx window, thus the verb names must be used inside an ijx session (it does provide for jconsole, however). So that I suggest you change the test to, say if. 0= 4!:0 <'datasheet' do. ... or if you want to test a particular locale if. 0= 4!:0 <'datasheet_foo_' do. ... -- 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
