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

[REBOL] Re: variable variable

From: lmecir:mbox:vol:cz at: 1-Jun-2001 0:16

you may want something like:
>> var-name: ask "Variable, please: "
Variable, please: tool-count == "tool-count"
>> value: ask "Value, please: "
Value, please: "tool-chest" == {"tool-chest"}
>> set to word! var-name do value
== "tool-chest"
>> tool-count
== "tool-chest"