04-15-2015, 11:53 PM
Which are the commands to change modes?, for example exact mode to approximate mode and viceversa, and simplifications, none, maximun, and others of HOME-CAS settings etc
I found some to change angle and other settings?
I am creating a library for configuring modem by strings, which is much more intuitive than by numbers.
if getMode_angle() == "RADIAN" then
...
else
...
end;
setMode_angle( "RADIAN" );
setMode_angle( "DEG" );
Thanks for your reply
I found some to change angle and other settings?
Code:
export getMode_angle()
begin
if AAngle == 1 then
return( "RADIAN" );
else
if AAngle == 2 then
return( "DEG" );
else
return( "SYS_ANGLE" );
end;
end;
end;
export setMode_angle( angle_mode )
begin
if angle_mode == "RADIAN" then
AAngle := 1
else
if angle_mode == "DEG" then
AAngle := 2
else
AAngle := 0
end;
end;
end;
I am creating a library for configuring modem by strings, which is much more intuitive than by numbers.
if getMode_angle() == "RADIAN" then
...
else
...
end;
setMode_angle( "RADIAN" );
setMode_angle( "DEG" );
Thanks for your reply