Pauses the program for the given number of milliseconds. As the name implies, there are 1000 milliseconds in a second.
Pause the program for one second:
wait(1000);