Algebraic Operators
Addition: | (x)+(y) | |
Division: | (x)/(y) | |
Modulus: | (x)%(y) | remainder of integer division |
Multiplication: | (x)*(y) | see Note AO1. |
Negation: | -(x) | |
Subtraction: | (x)-(y) | |
Notes
AO1. Implicit Multiplication: (x)(y)
AO2. Implicit Association: (xy
Elementary Functions
Absolute: | Abs(x) | forces passive sign of x to + |
e, constant: | e^(x) | see Notes EF01-EF02. |
e, constant: | exp(x) | see Notes EF02. |
Factorial: | (x)! | |
Integer: | Int(x) | truncates x to 0 decimal precision |
Log Base 10: | Log(x) | base 10 logarithm of x |
Natural Log: | Ln(x) | base e logarithm of x |
PI, constant: | Pi | 3.14159265358979 is used |
Power: | (x)^(y) | |
Sign: | Sign(x) | passive sign of x |
Square Root: | Sqrt(x) | |
Notes
EF01. May only be used as the base of a power function.
EF02. e = 2.71828182845905 is used.
Logic Functions
AND: | (x)And(y) | |
False, constant: | False | false=0 |
IF: | if(test,x,y) | see Notes LF01-LF05. |
NOT: | Not(x) | |
OR: | (x)Or(y) | |
True, constant: | True | true=1 |
Notes
LF01. Use of parentheses is mandatory.
LF02. test may be a logical, relational or arithmetic expression.
LF03. x is executed if the test result is true.
LF04. y is executed if the test result is false.
LF05.
en-US list separator is illustrated.
Memory Variable Operators
Assignment: | x= (y) | |
Addition Overload: | x+=(y) | performs x=(x+y) |
Division Overload: | x/=(y) | performs x=(x/y) |
Multiplication Overload: | x*=(y) | performs x=(x*y) |
Subtraction Overload: | x-=(y) | performs x=(x-y) |
Variable Decrement: | (x)-- | performs x=(x-1) |
Variable Increment: | (x)++ | performs x=(x+1) |
Variable Insertion: | (x) | |
Notes
MV01. Applies to Memory Variables Q thru Z.
Relational Operators
Equal to: | (x)==(y) | see Notes R01, R02. |
Greater: | (x)> (y) | see Notes R01, R02. |
Greater or Equal to: | (x)>=(y) | see Notes R01, R02. |
Less: | (x)< (y) | see Notes R01, R02. |
Less or Equal to: | (x)<=(y) | see Notes R01, R02. |
Not Equal: | (x)<>(y) | see Notes R01, R02. |
Notes
R01. returns a logical 1 if the expression is true.
R02. returns a logical 0 if the expression is false.
Trigonometric Functions
Arc Cosine: | ACos(x) | see Note TF01. |
Arc Sine: | ASin(x) | see Note TF01. |
Arc Tangent: | ATan(x) | see Note TF01. |
Cosine: | Cos(x) | see Note TF01. |
Sine: | Sin(x) | see Note TF01. |
Tangent: | Tan(x) | see Note TF01. |
Notes
TF01. Angles may be specified in Degrees, Radians or Gradians.
TF02. 360 Degrees = 2*Pi Radians = 400 Gradians.