This shows you the differences between two versions of the page.
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 | ||
+ | </ | ||
+ | |||
+ | ===== 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(" | ||
</ | </ |