[REBOL] Re: foreach with block question
From: jeff:rebol at: 13-Oct-2001 16:32
Howdy, Miquel:> >> data: [ > 1 AAA BBB 3 0 > 2 MMM XXX 1 1 > 3 DDD VVV 2 1 > ]. . .> but if I want generalize the foreach expression... > > >> row: [ a b c d e ] > == [a b c d e] > >> foreach row data [ print row ]...produces one item per line. Try: foreach :row data [print bind row 'a] -jeff