> > > Would it be possible to write a recursive function that would get your list > directly as numbers. > > Not recursive, but you could do this:
build =: 3 : 0 A=:B,A B=:A,B ) ((build^:3 '') [ 'A B'=:1 `0)-:(0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 1 0 1 0) 1 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
