Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] word Re:

From: rryost:home at: 13-Aug-2000 16:29

Here's a late response, but possibly it will show more clearly what the problem is. here's a console session REBOL/View 0.9.9.3.1 1-Jun-2000 Copyright 2000 REBOL Technologies. All rights reserved. Type DEMO to run demo if it is disabled
>> block: ["a" "b" "c"]
== ["a" "b" "c"]
>> code: [print memb]
== [print memb]
>> foreach member block [
[ memb: member [ do code ] a b c
>>
memb is a "global" word. In each loop, it's value is set equal to the value of the foreach-internal word, member. Russell [rryost--home--com]