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-11-06 14:50]
blockhead [Conditional statements] Finish notes on nested conditional equality
usage:nodes:atc_controller [2019-12-03 11:39]
blockhead The speed unit is metres per second
Line 41: Line 41:
  
 ''<speed>'' can be either: ''<speed>'' can be either:
-  * a number constituted only of digits. This represents an [[usage:trains#advtrains_speed_unit|Advtrains speed unit]], or+  * a number constituted only of digits. This represents the speed in metres per second (1 m/s = 3.6 km/h), or
   * the special value **M**, which represents the maximal speed of the train as defined by the entity definition passed to [[reference:advtrains:register_wagon|advtrains.register_wagon]].   * the special value **M**, which represents the maximal speed of the train as defined by the entity definition passed to [[reference:advtrains:register_wagon|advtrains.register_wagon]].
  
Line 114: Line 114:
 </code> </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.+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