Yeah, that's what happens when I try to sample too many examples.
OK, I incorporated your changed manually into my msam routine. it loads correctly. I do see the dialog box and can enter values into the dialog boxes and select the radio buttons.
I received this once I selected "OK":
<Source #2>
;;;Copied to window at 9:03 AM 11/24/15
(lambda ($KEY $VALUE $DATA $REASON $X $Y)
(setq Dbox (get_tile "dbox1"))
(savVar)
(setq ddiag 2)
(done_dialog)
)
;;; End of text
And the command line gave this: ; error: malformed list on input
So then I thought I would try it from a new drawing and from the code you had assembled. it did not get the <source> error; however, I did get this in the command line:
; error: no function definition: EFG
Upon stepping through, it gets stuck at the "OK".
By the way, is there a way to clear out a queue of any kind? I keep noticing that when I want to run a routine, it doesn't take on the first run, but will on a subsequent run.