Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] From string to object

From: sanghabum::aol::com at: 25-Nov-2001 19:02

Hi all, 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 fred ? Thanks! Colin.