2012-03-12 18:09 UTC
I have something that is erroring only on Bricscad, of course not sure if this is on your end or theirs, maybe you can point me in the right direction.
Basically very simply, I am spawning another Modal dialog box from the first one, yet when I come back to close the first one, I am getting an error. It seems it could be because I am using the same names for my local callback functions, but that should be acceptable I would think, yes?
Anyway, test code attached.
From Test function, click the button to Spawn the other dialog. Click Ok to close, then click Ok to close the first dialog. You should get the following error:
; ----- LISP : Call Stack -----
; ...C:TEST
; .....DCL_FORM_SHOW <<--
;
; ----- Error around expression -----
(AL_LEAVEDEFUN *RES*)
;
; error : bad argument type <#< #x3b @48e6be5e>> ; expected at
;
; error : during LISP function [c:dclButtonClicked] invoke from BRX/SDS interface,
please check Lisp function definition and call arguments.
--J
Basically very simply, I am spawning another Modal dialog box from the first one, yet when I come back to close the first one, I am getting an error. It seems it could be because I am using the same names for my local callback functions, but that should be acceptable I would think, yes?
Anyway, test code attached.
From Test function, click the button to Spawn the other dialog. Click Ok to close, then click Ok to close the first dialog. You should get the following error:
; ----- LISP : Call Stack -----
; ...C:TEST
; .....DCL_FORM_SHOW <<--
;
; ----- Error around expression -----
(AL_LEAVEDEFUN *RES*)
;
; error : bad argument type <#< #x3b @48e6be5e>> ; expected at
;
; error : during LISP function [c:dclButtonClicked] invoke from BRX/SDS interface,
please check Lisp function definition and call arguments.
--J