I am trying to create a function to use the variable name instead of values, but at the princ it is showing me only the name not the value.
(defun c:loop3 ()
(setq xp 5)
(setq count 0)
(setq zp 200)
(setq yp 5)
(setq cenPT '(count xp yp zp))
(princ cenPT)
(princ)
)
I am expecting to print the value 5 0 200 but it prints the name of the variables.
I found the answer
(setq cenPT count xp yp zp)