inl_z_ =: (cocurrent@] ".@] [)"1 0 nv_z_ =: 3 : 'if. L. y do. ''(> ; 5!:5 )"0 nl 0'' inl y else. (] , [: < [: ,. [: cutLF 5!:5)"0 nl y end.'
nv 0 1 2 3 will list in base locale 2 column boxed names with values or definitions. nv_j_ 3 will list all verbs in the j locale (names and defs) nv 'j';'jtask' will list nouns and values for locales j and jtask. it also works for a list of numbered locales. Multiple locales produce a 3d shape, and # is the number of locales. A neat feature about 5!:5 for display is that 3 and ,3 are displayed differently, and can help spot mistaken assumptions about our data. its also useful for exploring profile code: a dyadic version nv_z_ =: 3 : 0 if. L. y do. '(> ; 5!:5 )"0 nl 0' inl y else. (] , [: < [: ,. [: cutLF 5!:5)"0 nl y end. : if. L. y do. ('(> ; 5!:5 )"0 ', x ,' nl 0') inl y else. (] , [: < [: ,. [: cutLF 5!:5)"0 x nl y end. ) example: 'cut' nv_z_ 2 3 will list names and definitions of names starting with cut ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm