In einer eMail vom 23.03.00 15:52:35 (MEZ) Mitteleuropäische Zeit schreibt 
[EMAIL PROTECTED]:

> Hi another_bob,
>  
>  I believe I've seen this error message when I've used hidden contexts. Were
>  experimenting or using a use block, something like this?
>  
>  use [a b] [a: 1 b: 2 [a b]]
>  
>  I believe it's an error that is not supposed to happen and indicates that
>  REBOL's garbage collection has been corrupted.
>  
>  
Have a crash after use too, and read somewhere it has a bug (script at 
rebol.org?)
use and /local have another bug: you can't look in after an error!
i fixed (?) this yesterday with my 'local : it creates an object for the 
context and returns it.
locals are set to none initially. if all /locals moved in the 'local -level, 
last bug's values are available.

a question: [a: do [print "1"]] does not work, how can i handle this too?
i wanted to return the result of [do b] this way, with some lines after it
[.. e: do b  if a-option [..]  "return" e ] ?
"code"
local: func[a "vars" b "script" /local c d ][
    c: copy[]   foreach i a[ append c to set-word! i]   append c none
    d: make object! c   bind b in d 'self    do b   d]

"test" do [
a: "-a" b: "-b"
probe the-locals: local[a b][ a: 10 b: 20]
probe a probe b probe the-locals
]


Volker

Reply via email to