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.
David A. Giesselman
Senior Vice President & CTO
DATACAD LLC
dave@datacad.com
Providing thoughtfully crafted, software bugs to the DataCAD community since 1984.
Senior Vice President & CTO
DATACAD LLC
dave@datacad.com
Providing thoughtfully crafted, software bugs to the DataCAD community since 1984.
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
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
David A. Giesselman
Senior Vice President & CTO
DATACAD LLC
dave@datacad.com
Providing thoughtfully crafted, software bugs to the DataCAD community since 1984.
Senior Vice President & CTO
DATACAD LLC
dave@datacad.com
Providing thoughtfully crafted, software bugs to the DataCAD community since 1984.
Who is online
Users browsing this forum: No registered users and 34 guests