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.
#50752 by ORWoody
Sat Oct 23, 2010 8:55 am
I'd like to express an angle in DCAL, but am not sure how to do it.
What I am wanting to do is get something to use for sin (angle).
Thanks much,
#50761 by rod_walker
Sun Oct 24, 2010 6:01 pm
All of dcal trig routines use radians.
If you have used the procedure 'getang' to obtain the angle from the user via the standard dataCAD menu then the angle obtained will be in radians. If you are inputting them via program in degrees you will need to convert the angle to radians.

adeg: real
Arad: real

Arad:=radians(adeg);

Who is online

Users browsing this forum: No registered users and 11 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