Hi,
I'm obviously not very good at list handling because I just don't know how to get the format right for the creating this list.
I've got this:
(setvar "dimscale" 100)
(setq tag0 "A3-SCALE")
(setq value0 (strcat "1:" (rtos (getvar "dimscale"))))
(setq lst '((list tag0 value0)
("tag1" "value1")
)
)
It returns:
((list TAG0 VALUE0) ("tag1" "value1"))
I'd like it to return:
(("A3-SCALE" "1:100") ("tag1" "value1"))
complete with all the braces in the right place.
Is this not possible or maybe I'm simpler than I thought?
Thanks for any help.