SETQSet Quote (AutoLISP)
References in periodicals archive ?
SETQ call only be used to assign a value to a simple-variable.
The system has the goal of persuading the user to replace SETQ with SETF to enhance the readability and maintainability of his or her Lisp program.
But the A appearing in the SETQ expression returned by the macro is evaluated within the lexical context of TEST, and so refers to the local variable A visible in the body of TEST, which is 5.