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

[REBOL] Re: variable variable

From: pa:russo:perd at: 1-Jun-2001 8:32

> I need to name a variable by a variable name: > >item: tool > >I want to name a variable tool-count because that is what the value >of item is. > >Please Help! >Ammon >
I'm not sure to have understood what you need, but this could do the trick:
>> do reduce [to-set-word ask "Variable name, please: " 23]
Variable name, please: pippo == 23
>> pippo
== 23 -- Paolo Russo [pa--russo--perd--com] _________________ PERD s.r.l. Virtual Technologies for Real Solutions http://www.perd.com