I want to clear the contents of an edit_box if the user selects a radio button. Loading and running the DCL is no prob., stdscale is not getting set correctly, (print stdscale) returns nil every time i select a button. scla and sclb are defined radio_buttons in the DCL.
Thanks
(action_tile "scla" "(set_scale $value)"
(action_tile "sclb" "(set_scale $value)"
(action_tile "accept" "(getscale) (done_dialog)"
(defun set_scale (which)
(cond
((= which "scla" (setq stdscale 10.6666667))
((= which "sclb" (setq stdscale 5.33333333))
);cond
(if stdscale (set_tile "othscale" "")
(print stdscale)
Thanks
(action_tile "scla" "(set_scale $value)"
(action_tile "sclb" "(set_scale $value)"
(action_tile "accept" "(getscale) (done_dialog)"
(defun set_scale (which)
(cond
((= which "scla" (setq stdscale 10.6666667))
((= which "sclb" (setq stdscale 5.33333333))
);cond
(if stdscale (set_tile "othscale" "")
(print stdscale)