Here's the basic layout of my DCL file:
+ - [total]
There's a plus button, a minus button, and a total using an edit_box. Basic function would be the +/- increase/decrease the edit_box value, which starts at 0. I tried to modify the following code I found on AutoDesk's DG, but I know there's more to it.
(defun add (key val)
(cond ((= key "add")
(set_tile "total" (+ val 1)))
)
);defun
(action_tile "add" "(add $key $val")
I know this doesn't work because it's not grabbing the 'total' edit_box for the val. Any ideas?