In ZWCAD 2025/26, an error occurs when using dcl_form_show.
A variable is defined with: (vl-bb-set 'JoyFormName 'dc_MainMenu_cBarMax)
When I try to open the form with:
(dcl_form_show (vl-symbol-value (vl-bb-ref 'JoyFormName)))
The function fails with the error shown in the image.
The form opens this way without a problem:
(dcl_Form_Show dc_MainMenu_cBarMax)
Where is my error?
The error message indicates that (vl-symbol-value (vl-bb-ref 'JoyFormName)) returned NIL, so it seems unrelated to OpenDCL.
Olá Owen,
Verifiquei que o problema está em 'vl-symbol-value'
Por que a vriável existe :
Command: (vl-bb-ref 'JoyFormName) -> DC_MAINMENU_CBARMAX
Command: (vl-symbol-value (vl-bb-ref 'JoyFormName)) -> Nil