User Tools

Site Tools


usage:atlatc:examples:level_crossing

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
usage:atlatc:examples:level_crossing [2022-07-04 05:19]
blockhead [Implementation 2] reduce code size by using next() to check tables for emptiness
usage:atlatc:examples:level_crossing [2022-07-04 12:07]
56independent Just had to say this
Line 157: Line 157:
 end end
  
 +</code>
 +
 +===== Implementation 3 =====
 +<code lua>
 +-- The safest level crossing is no crossing. The path passes above or below the track and does not force people to cross the track. This track just keeps a train at mainline programming.
 +
 +atc_send("OCA1SM")
 </code> </code>
usage/atlatc/examples/level_crossing.txt · Last modified: 2022-07-04 13:31 by 56independent