Text Language Definition
Procedure Delay(NumberOfSeconds:longint);
Description
The Delay block causes a block list to stop and wait until the specified duration has been accomplished. The delay of one list of blocks has no bearing on the execution of other block lists or controller activities. The number
indicating the duration of the delay is interpreted in the indicated units of seconds. In many cases it is necessary to pay attention to some conditions while waiting. In that case a much shorter delay can be
placed inside a loop which is also allowing other conditions to be checked.
Escapes
The Delay Seconds block does not produce any escapes.
Examples
This is a 10 second timer:
This produces a 10 second countdown display using two text objects named "CountdownDisplay" and "StatusDisplay"
The text in "CountdownDisplay" is being maintained by a Show block:
The resulting forms look like this:
Related Topics
Delay Milliseconds
Yield