up previous next
SleepFor    --    Make program sleep for a specified time


Syntax
SleepFor(zzz: INT or RAT)

Description
This command makes CoCoA sleep for (at least) zzz seconds. It is an error if the duration is negative or too long (current limit is about 65000 seconds).

The command may be useful when developing an interative program.

Example
/**/  SleepFor(1.23);

See Also