Error/Alert box

#1
I'm trying to add an Alert/Error to my lisp file, but I am not getting what I expect!!

Code: Select all

   (alert (strcat "\nOOPS drawing name <" dwg "> NOT FOUND in support file search path."))
The Alert box does open, but after the main dialogue has been closed and then re-opened.
I would prefer it to open while the main dialogue is open, is that possible?
Line 783 in attached file, which is still work in progress :)

Any suggestions?
S.
Attachments
samp4-new-171.zip
(3.73 KiB) Downloaded 186 times