[REBOL] From string to object
From: sanghabum::aol::com at: 25-Nov-2001 19:02
I'm having a bit of trouble getting from a string to the
contents of the object that the string names. I've tried
an embarrassing combinations of 'set and 'load and
wotnot, without finding the right magic.
Can anyone help, please?
An example to try to make sense of what I am asking ....
fred: make object! [field1: 1 field2: 2]
Doris: make object! [field1: 3 field2: 4]
userdata: ask "Which object?"
print mold :userdata
What should the 'Print statement be to print object Fred if the user types