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

[REBOL] Re: Embedded Object and Scope yet again...

From: lmecir:mbox:vol:cz at: 12-May-2001 10:05

Hi, Larry wrote:
> Hi Joel > > > IMHO, using DO or USE is a more general mechanism, as it actually > > allows you to "embed" references wherever you wish, instead of being > > limited to the global level as with SET. For example: > > > I'm a little puzzled by your remark. SET is not limited to binding in the > global context. Rather, the target word is simply searched for up through > the context hierarchy. The first match determines the context where the > binding occurs, in exactly the same fashion as the look-up for the value
> a word. For example:
I would like to change the above wording starting "Rather ...": Rather the targer word is simply examined for its binding (the context it belongs to is fetched).