Hi Paul
Just guessing about your problem, if this is not the answer, you will need
to show us some code. I guess you have something like:
f: func [arg /local str][ ...
str: ""
...
do something that appends something to string
...
]
If so, the problem is not really contexts, but the nature of series literals
in REBOL. If you want an empty string each time the function f is entered,
replace
str: ""
with
str: copy "" ;creates a new empty string each time
HTH
-Larry
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 31, 2000 5:39 PM
Subject: [REBOL] Context Stuff
>
> Ok, I have been trying to understand this context stuff. I know have a
> reason to. I created a function and have a "word" within a while function
> embedded within. The problem is that the function does everything I want
> the first time. However the "word" within the while function continues to
> hold the last value. I can do a source on the function and see the last
> value within. How can I have the function return the string value to
> nothing at the end of exection.
>