defun-q
(defun-q name ( [ args ... ] [ /
vars ...] ) expr ... )
Same as defun, but keeps the function
definition as a list of symbols + expressions; obsolete, should be
used only in very rare cases (i..e for S::STARTUP function
definition).
Arguments |
name name of Lisp function (if prefixed by C: then the
Lisp function is also a command) |
Return |
name if the function was successfully registered;
otherwise a Lisp error is triggered; |
Example |
(defun-q MyTest ( x )
(princ)) |
Remarks |
if 'name' is prefixed by
C: then a command
is registered, which can be directly called at commandline, by
entering name; if args or vars are used, the / delimiter *MUST* be surrounded by at least 1 space to the left + right ! |
© Bricsys NV. All rights reserved. |