User Tools

Site Tools


usage:nodes:atc_controller

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:50]
blockhead [Conditional statements] Finish notes on nested conditional equality
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:
 +<code>
 +I<8
 + Not equal to 8
 +E
 + I>8
 +  Not equal to 8
 + E
 +  Equal to 8
 +;;
 +</code>
 +
 +Unfortunately the command <code>I+I<=8I>=8B0</code> can't be parsed and the parser complains. For now you will have to not nest I+ commands inside I< commands.
  
 ==== Examples ==== ==== Examples ====
usage/nodes/atc_controller.txt · Last modified: 2022-06-27 04:32 by blockhead