I realize that this is probably really easy and trivial... However! I would like to define an associative list that uses pre-existing variables. Something like this:
Code: Select all
(setq x 412)
(setq a '((name "Bob")
(age x)))
Code: Select all
(lookup 'age a) -> 412
Code: Select all
(setq a (list '(name "Bob")
(list 'age x)))
Thanks!