I expect that {:{:;: names_z_ 3 is an empty box for you.
You should probably be using nl_z_ 3 instead of ;:names_z_ 3
Thanks,
--
Raul
On Wed, Nov 12, 2014 at 1:40 AM, Vijay Lulla <[email protected]> wrote:
> Hi all,
> On August 31, I asked for help with creating a verb that allows me to find
> where a particular name is defined. Henry and Pascal helped me and I
> defined the verb like they suggested. Specifics at
> http://jsoftware.com/pipermail/programming/2014-August/039110.html
>
> However, today I noticed that I'm getting strange errors when using this
> verb with locales. For e.g. below is from my session:
>
> definedwhere=: ((<'Not from script') ,~ [: 4!:3 ''"_) {~ 4!:4@boxopen
>
> (] ,. definedwhere)"0 ;: names 3 NB. works
>
> (] ,. definedwhere)"0 ;: names_z_ 3 NB. ill-formed name definedwhere
>
> Why am I getting ill-formed name? I looked up "ill-formed name" in
> Appendix D of the dictionary but don't see why I should get this error.
> Can you please explain me, or point me where I can read about, what I'm
> doing wrong?
> Thanks,
> Vijay.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm