Dan Bron wrote: > rmcol2 only scans the input once, ... I think rmcol2 scans the input five times:
rmcol2=: (;:~ ((1;A;B) (, <) 1, 0, 1,~ =&(10{a.)@:{.))^:(1 < #)
But that's a hurried count, and I may be mistaken.
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
