Your end of (if userclick is only a few lines down so rest of code will run, maybe use a simple hard exit out. I did not look to closely at what is to run and whats not. You could call a defun as part of the exit resetting variables etc 1st then exit. The other way is move ) ; progn ) ; if further down
(if (= userclick nil)(progn (alert "now exiting ")(exit)))
Thanks. I've been looking for this. Or something like this. Just snagged Lee's Lisp styler. Not to be confused with a lips styler :)
Thanks. I've been looking for this. Or something like this. Just snagged Lee's Lisp styler. Not to be confused with a lips styler :)
Glad I could (possibly) help.
I just looked up Lee's lisp styler; please do not use that here on TheSwamp. You can certainly use the plain BBCODE (CODE) to display your code but we have a custom code tag system we developed for our developers(users) to display their code with built in help for the AutoLisp language. ...You must already know this, but I just wanted to note that for other people reading this post.