Complete Documentation on return value of split_at_fc()

master
Gabriel Pérez-Cerezo 2020-07-28 20:10:08 +02:00
parent 3b9b884988
commit c7ea09ed59
1 changed files with 2 additions and 0 deletions

View File

@ -207,9 +207,11 @@ split_at_fc(command)
Splits the train in such a way that all cars with non-empty
current FC of the first part of the train have the same FC. The
command specified is sent to the rear part, as with split_at_index.
It returns the fc of the cars of the first part.
Example: Train has current FCs "" "" "foo" "bar" "boo" "foo"
Result: first train: "" "" "foo"; second train: "bar" "boo" "foo"
The command returns "foo" in this case
step_fc()
Steps the FCs of all train cars forward
train_length()