Sleep(x) causes the program to stop and wait for x milliseconds before starting again. It is used like so:


This will cause the program to wait for 2000 milliseconds, or 2 seconds.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.