I'm using the sketch library on this function:
(defun init-plot (&optional (title "Plot Window")
(x-size 250) (y-size 250))
(defsketch window ((width x-size)(height y-size)(title title)))
(make-instance 'window ))
Basically is a three optional arguments function, that make a class sketch a create a instance. the function works but it has this warning:
; In INIT-PLOT: Unused lexical variable TITLE
with this, the title option doesn't work, but this variables are on different scopes, so I do not get why I have to change the name of the first variable. because whithout changing it does not work
defscket is a macro that wraps defclass
(defmacro defsketch (sketch-name bindings &body body)
...
So I don't get the point what is happening here