Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I make the program wait for a few seconds?

Status
Not open for further replies.

jvff

Programmer
Apr 1, 2001
64
BR
Hello,
    I am a C++ Program, new to Object Pascal. Is there a function to make the program wait for a few seconds like Sleep() in C++? ThanQ, ;-)

JVFF (Janito Vaqueiro Ferreira Filho)
 
hi,

sleep() is a windows function, so in delphi it is also sleep(1000) where 1000 is the time in milliseconds

Steph
 
And for Linux...? ThanQ, ;-)

JVFF (Janito Vaqueiro Ferreira Filho)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top