Björn Helgason wrote:
>    erase_a_'b'
> 1

erase is a nice cover for 4!:55, but note that the above
could be ambiguous.

erase 'b_a_' can only delete the definition of b in
the locale a.

erase_a_ 'b' will search locale 'a' and every locale
mentioned in copath'a' and will delete the first definition
it finds for 'b'.  In this particular case, the only
other locale involved should be 'z', and 'z' should not
have a definition for 'b'.  But in the general case it
might be safer to fully qualify names to be erased.

-- 
Raul

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

Reply via email to