I think this must have come up before but i cant find where.

Is there a utility erases a name in the current locale?

The erase foreign 4!:55 descends the locale path and deletes the name as
soon it finds it.

         a_base_=:'in base'
         a_z_=:'in z'
   a
in base
   erase 'a'
1
   a
in z
   erase 'a'
1
   a
|value error: a


NB. same result if 4!:55 is used instead if erase ( erase_z_)

thanks
David
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to