[REBOL] Re: Antwort: Re: WYSIWYG programming
From: joel:neely:fedex at: 28-Oct-2000 17:52
> > Another nice feature of REBOL is the fact that words "controlled" by
> > (most!) looping functions are localized, so that after the loop exit
> > the prior value of the word has not been destroyed by the loop.
> > However, this apparently was implemented using a context/scoping model
> > rather than a save/restore model.
> > The consequence of these two facts is that I cannot use a previously-
> > defined Does block which has access to the loop-controlled variable(s).
> If am supporting the Rebol behaviour here, because I don't like such
> surprising changes in function behaviour depending on the place of its
> evaluation. If you would like to have a changed function, you can create a
> new one like:
> whatever: "nonsense"
> f: does [print whatever]
> for whatever 1 2 1 [do does bind second :f 'whatever]
I should have known that if I said "cannot" that some guru would come
along and show a way! Perhaps I should change my sentence to read
"cannot easily (without being Ladislav) use ..."
Seriously, thanks for the correction!