stall( turns )
Parameters
| Type | Description | |
| turns | numeric | number of turns to skip |
_result
Not set.
Descriptions
Ends a robot's current turn and skips the number of turns specified by the turns parameter. When a robot's turn is skipped it does not run any instructions, but it will continue any movement that was started before the call to stall. A robot's turn is normally ended automatically by the game, but occasionally a robot may want to manually skip a number of turns. See the game turns topic for more information. The stall command is most commonly used for debugging robots or to coordinate timing between robots during testing.
When stall is called a robot's turn ends immediately. When the specified number of turns have been skipped, the robot will continue running on the line following the call to stall (unless a higher priority event occurred between turns).
See Also