Is it possible to defined a variable partially or wholy through use of another variable?
for instance, for the porposes of creating temp variables within a count loop.
for(var/i in list)
var/temp[i] = list[i]
that method will create a list variable and place the value of i, into the ith slot... what I'm looking for a way to do is create a new variable named "temp[i]" with the value of the ith value of list. this would be possible if procs had a .var list [since you could do
Proc.vars += list("temp[i]" = [i])
which should add a variable named "temp[i]" with the value of that ith list member to the list of variables for the proc], but from what I can tell, Procs/Verbs don't have .vars lists. so is there another way to do it?
ID:166717
Jun 25 2006, 10:59 am
|
|
Jun 25 2006, 11:08 am
|
|
Huh?
|