On Wed, Apr 21, 2010 at 1:05 PM, Dan Bron <j...@bron.us> wrote: > IOW, normally what's wanted is f=.f+1 (not =:), of course explicit > definitions cannot manipulate the local names within other explicit > definitions.
Note that =: and =. are equivalent for locatives, and large code bodies should probably be using locatives in appropriate locales. That said, here is a variation which uses =. instead of =: linrep=:3 :'5!:5<''y''' modfl=:1 :0 [ ".@, '=.', [,' ',m,lin...@] ) This version requires the verb to be quoted. I did that because 5!:5 does not do anything useful for me, with multi-line verbs. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm