LabTalk Object Type:
The math object is a sub-object of the system object. The math object property allows you to read and alter the angular unit setting which is set in the OPTION.CNF file. This setting can also be accessed in the Options dialog box.
Angular units: 0 = radian, 1 = degree, 2 = grad.
This script prints a warning to an Attention box if radians are not being used as the angular units.
if (system.math.AngularUnits != 0)
type -b "Warning: units are not radians!" ;