Delay

Availability All terminals
Description This function waits for a time specified by the argument time. The time is specified in steps of 20 milliseconds. For example, time = 50 will cause a delay of 20*50 = 1000 milliseconds.
Syntax void Delay( int time );
Arguments
int time
The time is specified in steps of 20 milliseconds.
Returns None
Remarks This function automatically calls the Idle() function in order to reduce power consumption.
Example
#include <stdio.h>
#include "lib.h"

void main( void )
{
    for(;;)
    {
        printf("\nHello world.");
        Sound(TSTANDARD, VHIGH, SHIGH, 0);
        Delay( 100 );
    }
}