SETQSet Quote (AutoLISP)
Copyright 1988-2018, All rights reserved.
References in periodicals archive ?
Setq provides value-assignment, but there is currently no analog in local RCXLisp to the Common Lisp SETF macro.
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.
(setf a 'foo) (defmacro simple-incf (var) (print a) (list 'setq var (list '+ var 1))) (defun test (a) (simple-incf a))
For example, to create a LispView base-window, we apply make-instace to 'base-window like this: (setq my-window (make-instance 'base-window :label "Example Base Window"))