Richard,
I found the following example (one of several) in
the j script j601/system/extras/util/pp.ijs .
pp=: 3 : 0
files=. boxxopen y
res=. (#files) $ 0
for_f. files do.
s=. pp1 f
if. s = _1 do. return. end.
res=. s f_index } res
end.
res
)
(B=)
On Sun, 10 Sep 2006, Richard Donovan wrote:
+
+ 1. This seems to imply that a variable called xyz_index is created and
+ updated
+ automatically, but I cannot get that to work so assume that is not the case.
+
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm