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

[REBOL] Re: string to object - was: Ask

From: al:bri:xtra at: 28-Sep-2001 19:28

Gregg wrote:
> Then *this* is the answer! > > >> probe do in get to-word "system" to-word "options" > > Does that look right? I mean, it works, but is it safe?
This should do the trick and is a little safer: probe get in get to-word "system" to-word "options"
> It doesn't work for this though: > > >> probe do in get to-word "system/options" to-word "cgi"
Safer still is: Words-Objects: reduce [ "System Options" system/options "My unique object" make object! [m: 123] "q" :quit ] Thing: select Words-Objects ask "Please enter the name of an object?" I hope that helps! Andrew Martin ICQ: 26227169 http://zen.scripterz.org