Steps - TobCar/carla GitHub Wiki

Steps are a type of Orderable.

Syntax

step [Step Name]

after [Orderable Name], [Orderable Name]

using [Variable Type] [Variable name], [Variable Type] [Variable name]

passing [Variable Type] [Variable name], [Variable Type] [Variable name]

Read Orderable for more details on the "after" keyword. Read Variable Passing for more details on the "using" and "passing" keywords.

Brackets containing Scala code are expected after the keywords.

Code

Code within steps is the exact same as Scala. Carla's compiler copies everything between the brackets character for character.