Hi,
I have a lisp routine, in it, the user picks a size from a list, upon pressing OK on the size dialog, the routine calls another routine. This second routine is responsible for ensuring that the user has selected a size. I use the errtile tag in my DCL file to output an error message to the dialog. I have this same setup throughout my routine, with the only difference being the name of the fitting. The size checking routine is called properly, and it does work, the dialog reappears if an invalid size is chosen. The only trouble is that I do not have the message displayed on the dialog box. Here is the size checking routine:
(defun numcheck
(if (or (= number 0) (= number nil))
(progn
(setq runner 0)
(set_tile "error" "Invalid Size")
)
(progn
(setq runner 1)
(done_dialog)
)
)
)
Are there any obvious errors?
TIA
Scott
I have a lisp routine, in it, the user picks a size from a list, upon pressing OK on the size dialog, the routine calls another routine. This second routine is responsible for ensuring that the user has selected a size. I use the errtile tag in my DCL file to output an error message to the dialog. I have this same setup throughout my routine, with the only difference being the name of the fitting. The size checking routine is called properly, and it does work, the dialog reappears if an invalid size is chosen. The only trouble is that I do not have the message displayed on the dialog box. Here is the size checking routine:
(defun numcheck
(if (or (= number 0) (= number nil))
(progn
(setq runner 0)
(set_tile "error" "Invalid Size")
)
(progn
(setq runner 1)
(done_dialog)
)
)
)
Are there any obvious errors?
TIA
Scott