I'm new to Lisp and don't know how to access the :DIM value! Here's the code:
(defstruct peca
dim
val)
(setf exemple #S(PECA :DIM 2 :VAL 1))
How can I get the value of :DIM from exemple?
When I try exemple-dim it says variable -DIM has no value.