Mathematical operators

From Smart Box
Revision as of 20:05, 6 October 2023 by Benryves (talk | contribs) (Created page with "== Description == 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 == PRINT 4+4 PRINT 4...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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