I'm not a programmer by trade, so my question probably has a simple answer.
Is there a way for a variable to contain a variable name in autolisp?
For instance
(repeat 10
(setq
foo (nth i somelist)
foo somequantity
i (+ i 1)
)
)
except that the items in "somelist" are strings that represent variable names I'd like to assign to foo during loop iterations, and the second time foo appears I'd like it to evaluate to the variable name.
Is this possible??