Native commands in scripts which set angles are called with an angle parameter. If no unit is given, the unit of measure is the current display/entry angle unit. Units may be specified by including the unit abbreviation in the parameter. Calculations are also allowed.
TextRot;90.0; - sets text rotation to 90 units using the current display/entry angle unit, assumed to be 90 degrees for this example
TextHeight;0.7854r; - sets text rotation to 0.7854 radians regardless of the current display/entry angle unit