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.

Moderator: pjdixit

#20423 by devinder
Mon Feb 19, 2007 8:58 am
When (Del) is pressed brkprss returns a value of -1; when (End) is pressed returns a value of 1.
Usage: To terminate out of loop. In some cases if a break has occured internally, this value is returned in one of the variables.

to go into infinite loop until (End) or (Del) is pressed.
Code: Select allwhile brkprss=0 do
    draw()


Hatchmode api returns this in brk variable.

More info in DCAL manual. Search for "brk"

Who is online

Users browsing this forum: No registered users and 1 guest

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 AEC Professionals Since 1984