This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
usage:nodes:atc_controller [2019-07-02 12:30] 82.67.173.193 |
usage:nodes:atc_controller [2019-11-06 14:51] blockhead [Conditional statements] missing semicolons |
||
---|---|---|---|
Line 101: | Line 101: | ||
It is not currently possible to test directly the speed for equality or inequality. | It is not currently possible to test directly the speed for equality or inequality. | ||
+ | |||
+ | Although there is no direct command, it is possible to use nested conditional commands to test for equality or inequality: | ||
+ | < | ||
+ | I<8 | ||
+ | Not equal to 8 | ||
+ | E | ||
+ | | ||
+ | Not equal to 8 | ||
+ | E | ||
+ | Equal to 8 | ||
+ | ;; | ||
+ | </ | ||
+ | |||
+ | Unfortunately the command < | ||
==== Examples ==== | ==== Examples ==== |