I'm having a brain cramp and I can't seem to get this routine to 'exit quietly'. When the user chooses not to "Select Again", I'd like the routine to just stop. Instead, it just continues on unless I put in an (exit) which returns an "error: quit / exit abort". My attempt is below... Any help would be greatly appreciated!
(setq ANOTHER (getkword "Select again? <Y>/N:"))
(if (/= (strcase ANOTHER) "N")
(choose_type)
(quiet_exit)
)
(defun quiet_exit
(princ "\nThis is me exiting quietly\n")
(exit)
(princ)
)
(setq ANOTHER (getkword "Select again? <Y>/N:"))
(if (/= (strcase ANOTHER) "N")
(choose_type)
(quiet_exit)
)
(defun quiet_exit
(princ "\nThis is me exiting quietly\n")
(exit)
(princ)
)