Mathematical operators
Description[edit]
Smart Move allows the use of mathematical operators using both standard notation and the plain English equivalent. The following operators are allowed:
| + | PLUS |
| - | MINUS |
| / | DIVIDED BY |
| * | MULTIPLIED BY |
| = | EQUALS |
| < | IS LESS THAN |
| > | IS GREATER THAN |
| = | IS EQUAL TO |
| <> | IS NOT EQUAL TO |
| =1 | IS ON |
| =0 | IS OFF |
| AND | |
| OR |
Examples[edit]
PRINT 4+4
PRINT 4 PLUS 4
IF SENSOR 0 IS ON THEN SWITCH ON 1