[REBOL] Suspected bug Re:(2)
From: al:bri:xtra at: 12-Aug-2000 10:42
Galt wrote:
> I think there is a new context created for the foreach invocation, and in
that context the value of someword is indeed repeatedly set to each element
of someseries.Notice that you won't be able to see someword outside the
foreach loop before or after it, although you may be able to see something
if someword has a value in the enclosing, possibly global context.
It's instruct to have a look at the source for the looping constructs. Some
are mezzanine functions and they show how they work.
Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/