Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / What's the difference ?

Author
Message
Omega
21
Years of Service
User Offline
Joined: 12th Sep 2002
Location:
Posted: 28th Sep 2002 16:31
Hi,

I have a question about these two commands Sleep & Wait. According to the manual they do exactly the same thing so why two different commands?

Thanks
Zep
21
Years of Service
User Offline
Joined: 31st Aug 2002
Location: From PA, USA. Currently reside in Hanoi, Vietnam
Posted: 28th Sep 2002 18:23
sleep 10
pauses for 10 seconds
wait 10
pauses for 10 milliseconds

Omega
21
Years of Service
User Offline
Joined: 12th Sep 2002
Location:
Posted: 28th Sep 2002 21:08
No, 1000 milliseconds is exactly 1 second in both commands.

Rob K
Retired Moderator
21
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 28th Sep 2002 21:20
Either this is no difference or it is a very low level difference.

I have seen the command Windows.Sleep in Delphi, is there any connection?

what is a signature?

Login to post a reply

Server time is: 2024-04-23 23:49:42
Your offset time is: 2024-04-23 23:49:42