HP 3000 Manuals

DEG [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

DEG 

The DEG statement indicates that angular units will be specified in
degrees.  The default is Radians.  One degree represents 1/360 of a
circle.  This statement is used with trigonometric functions.

Syntax 

DEG

Example 

     10 Radius = 10
     20 DEG
     30 Area = PI*Radius**2
     40 PRINT Area
     50 END



MPE/iX 5.0 Documentation