AngleDegrees (Return Degrees)

The AngleDegrees declaration is used to set math functions in the program to return, or to expect as the source, degrees instead of radians.

Syntax

AngleDegrees

Remarks

The AngleDegrees instruction is placed in the declarations section of the program, before the code enclosed in the BeginProg/EndProg instructions.

AngleDegrees affects the following instructions that return an angle in radians: ATN, ATN2, ACOS, ASIN, RectPolar.

Angle Degrees affects the following instructions that expect an angle in radians as the source: COS, TAN, and SIN.

Negative radians will convert to negative degrees.