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.
I have a macro that is composed of multiple large and somewhat similar bloated modules. Is there a strict line limit for modules? Each one has 8000 lines or so.
When I add a call at the same location in each of the modules, I begin getting a heap overflow message. Up until that single add, the modules all compile without a problem.
Would anyone be willing to look at one of the modules and see if the problem can be resolved or if I've hit a limit?
I would be willing to check out one of the modules. Highlight the problem area. I do not think you have hit a limit; but DCAL is an old compiler.
Regards
Rod Walker.
Apologies for delayed reply; but we have had successive days of 47 deg Celsius and air-con out.
If I understand correctly, you are failing during the compile process. Instead of attempting the compile as a single DOS operation, try it separately using DCC1 & DCC2 instead of DCC to compile units and join them in a single step. This has usually worked for me. You can stremaline the process by using batch files to manage the process.