UI/Model Parse - Sliders - WIP
[clnl] / src / main / nvm / base.lisp
index 7fec1df58b86f5cef20f5c37cd98b8fc093939da..1a80dc3fa87deea9f4bed2cb8432e232b4fed5e7 100644 (file)
@@ -38,6 +38,9 @@ DESCRIPTION:
    (stop (s) (declare (ignore s)) :stop)
    (death (d) (declare (ignore d)) :death)))
 
+(defmacro defcommand (name args docstring &rest body)
+ `(defun ,name ,args ,docstring ,@body :undefined))
+
 (defstruct turtle who breed color heading xcor ycor (label "") label-color size shape own-vars)
 (defstruct patch color xcor ycor own-vars turtles)