> How would one go about throwing in the additional "1"s into the > spaces (gaps) of the paling fence..? (There is one less "1" compared > to the number of integers in the "list notation" [if I always write > out the integer part, even if it is "0"). > > If the two lists I like to "interweave" don't agree in number of > items, I obviously get a lenght error. > > ] v=. i.4 > 0 1 2 3 > ] w=. 3 $ 1 > 1 1 1 > ,v ,. w > |length error > | ,v ,.w > > Would there be a (similar, slightly modified) way to do this, or does > one need a (very) different approach..?
slightly modified: }:,v,.w,0 Ben > -M ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
