The DataCAD Developer Network (DDN) is an online resource for information and support for DCAL® (DataCAD Applications Language) developers as well as anyone interested in creating fonts, toolbars, hatch patterns, or linetypes for use in DataCAD.
#74869 by dhs
Sun Sep 30, 2018 4:52 pm
#74882 by dhs
Mon Oct 01, 2018 6:02 pm
Thanks for the response Dave,
I forgot that I changed 'else' to 'elsif res= res_normal' in the code after I uploaded the source zip file to my website.

The original 'else' logic assumed that there were only 2 possible values for res (res_escape and res_norma)l ... in hindsight probably not a valid assumption. On reviewing it after discovering the crash scenario I changed it to the elsif logic in the code I pasted in my original post. I could have sworn I tested the compiled macro with the new elsif logic logic and it still exhibited the crash ... but recompiling now it seems ok. I was in a bit of a hurry and probably tested the wrong version .... sorry to have worried you.
#74888 by David A. Giesselman
Tue Oct 02, 2018 10:43 am
David,

Using your macro as a guide, I was able to identify the cause of the crash and have corrected it for the next update.

Dave
#74897 by dhs
Tue Oct 02, 2018 3:01 pm
Thanks Dave...

Who is online

Users browsing this forum: No registered users and 32 guests

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for Architects Since 1984