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

[REBOL] Re: local vars in functions

From: anton:lexicon at: 1-May-2002 3:12

Ladislav, I disagree. I don't think this is an adequate proof. (You didn't observe the scan happening, so it's a theory, not an observation.) In my understanding, context evaluates its blk argument, and as it moves along from item to item, finds set-words and their values and adds them to the new object that it is creating. I would say the BLK argument is scanned for local words *as* it is being executed. Forgive me if I misunderstood. It's not terribly clear. Regarding your final statement at bottom, would you say that the following statements are true? 1) "BLK ... scanned for local words" -means-> "BLK is reduced" 2) "... executed" -means-> "made into an object" Anton.