Navigation: Programming language SQC > Built-in functions > Time >
The sleep() function delays the program execution for an amount of
time in ms.
void sleep(int ms)
Example:
void main()
{
while(1)
sleep(1000);
printf("Tick");
}
Output:
Tick
...