I have the atan2 function as:
atan2(y,x)
BEGIN
RETURN ARG(x+i*y);
END;
How can I set the mode to radians or decimal from the code?
HAngle:=0; // radians
HAngle:=1; // degrees
HAngle:=2; // gradians
Or, without changing default setting
AAngle := 0 // Home setting
AAngle := 1 // radians
AAngle := 2 // degrees
AAngle := 3 // gradians