Isn't the real problem we are having here as given that a name is defined, where is it defined? I can determine it's type with 4!:0 so I can know if it exists, but I don't know were it is defined. Is it a local name? Is it a global name defined in the current locale? Is it defined somewhere in the path, and if so, where? It can be done, but it is not pretty. It looks like this is a common thing done in J7 GTK edit window.
Sometimes in debugging I would like to know every instance of a name. I would like to say, "Tell me every locale where the name 'abc' is defined." On Thu, Sep 23, 2010 at 2:06 PM, david alis <david.a...@gmail.com> wrote: > > Raul Miller wrote on Tue Sep 21 04:14:37 HKT 2010 > > > >> If I change =: to =. then the verb doesn't work. > >> Why is that? > >Because =. assigns local names, rather than locale names. > > and also because erase is a tacit verb... > > eraseX=: 3 : 0 > (y)=.1 > ( 3 :' erase y') y > : > (y)=.1 > erase y > ) > 'v_base_ v_z_'=.'from base';'from z' > 'use tacit' eraseX 'v' > 1 > v > from base > eraseX 'v' > 1 > v > from z > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm