Michael Jelinek wrote:
> ...I have noticed that loop indices are local to the loop block, and of
course function (dummy) arguments are local to the function...
It's revealing to look at the source of 'forall:
>> source forall
forall: func [
"Evaluates a block for every value in a series." [throw]
'word [word!] {Word set to each position in series and changed as a
result}
body [block!] "Block to evaluate each time"
][
while [not tail? get word] [
do body
set word next get word
]
]
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
-><-