Is there a proc for text2literal to turn a string into a literal expression, such as
var/mud = text2literal("foo")
Dec 25 2016, 9:31 pm
|
|
And what exactly would that do?
|
You mean the value of the "foo" variable?
var/foo = "blah" |
No, I want to be able to generate the variable retrieved at run time like so.
var/foo = 1 var/fuu = 2 var/mud = text2literal("f[1 ? "oo" : "uu"]") var/number = mud |