[REBOL] Re: foreach with block question
From: g:santilli:tiscalinet:it at: 15-Oct-2001 22:05
Hello Andrew!
On 14-Ott-01, you wrote:
AM> That's funny, it worked on my Rebol console? That was a
AM> direct copy from my Rebol console?!
Probably you had a global 'A (as well as 'B, etc.), or your ROW
block was bound to some context where those word had some meaning.
Indeed, if you look at your output (copying from your post):
>> foreach :row data [print bind row first row]
3 DDD VVV 2 1
3 DDD VVV 2 1
3 DDD VVV 2 1
...you see that you got 3 identical rows.
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/