[REBOL] Re: string to object - was: Ask
From: greggirwin:starband at: 27-Sep-2001 20:23
Hi Ammon,
<< Some one also mentioned 'get. It seems to work as well, or even better
for
some things. >>
Yeah, what I want is something that just retrieves the data. If I use 'do, I
may cause execution of code that I don't want to execute. Correct?
I can make 'get work to some extent, but I haven't found the magic
combination
for reaching my ultimate goal.
These work fine:
>> probe get in system to-word "options"
>> probe get in system/options to-word "cgi"
This does not, unless I use 'do on sys-opt. Tried a number of other things
with no success:
>> sys-opt: "system/options"
== "system/options"
>> probe get in do sys-opt to-word "cgi"
So, is it possible to do it without 'do, or can we safely use 'do without
side effects?
I think it must be possible because the uses for dynamic reflection are just
to good to live without. :)
--Gregg