MATHS COMMAND SET

In addition to all the standard mathematical forms and conditional operators you are able to use a number of useful expressions. Everything from calculating the arc of a circle to generating a random number can increase the sophistication of your programs.

Click on any commands for more information:

INC will increment a variable
DEC will decrement a variable
RANDOMIZE will reseed the random number generator

The next commands will return a result:

SQRT() will return the square root of an expression
ABS() will return the positive equivalent of an expression
INT() will return the largest integer before the decimal point
RND() will return a random number within a given range
EXP() will return a number, raised to the power of a value
COS() will return the cosine of a value
SIN() will return the sine of a value
TAN() will return the tangent of the a value
ACOS() will return the arccosine of a value
ASIN() will return the arcsine of a value
ATAN() will return the tangent of a value
HCOS() will return the hyperbolic cosine of a value
HSIN() will return the hyperbolic sine of a value
HTAN() will return the hyperbolic tangent of a value