i try to modify my PictureBox_DrawLine list by variable. i try something like this:
(setq www 4)
(dcl_PictureBox_DrawLine LineType_LineType_PictureBox1
'(
(www 22 75 22 7)
)
)
but there is error invalid data type or data overflow: WWW
is there any solution for this
thanks
Try this:
(setq www 4)
(dcl_PictureBox_DrawLine LineType_LineType_PictureBox1
(list www 22 75 22 7)
)
i noticed if we use integer value then we can wrote code like this:
'(
(10 10 230 10 248)
(10 20 230 20 249)
)
if we use variable then code should be like this:
(list
(list 10 10 230 bbb 248)
(list 10 aaa 230 20 249)
)
Thanks
Yes ODCL has always had an issue with '() lists
Just to clarify, this has nothing to do with OpenDCL, it's how the AutoLISP (quote) function is supposed to work.