Hi Luke,

You already got some solutions; I'll just add some comments.

L> I'm trying to dynamically add and remove words from an
L> object...I know I could dynamically reconstruct it from scratch,
L> but that is not very elegant. There must be a better way...

Not really. The issue lies in the fact that the context of an object
isn't dynamic; you can't add or remove things. The global context in
REBOL is the only special case of a dynamic context I believe.

You can get tricky and work around it, by including a block in your
object and using that as kind of a sub-context--because blocks are
resizable. I think Ladislav or Joel posted a dynamic object example
here at one time. I didn't find one on REBOL.org in a quick search,
maybe somebody submit one if they have it handy.

-- Gregg                         

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to