Sleep command
4 posters
Page 1 of 1
Sleep command
- Code:
Sleep
the sleep command makes the command line wait for a given amount of milliseconds then continue with the commands following it. It's just like the pause function except you don't have to wait for the user to press anything to continue.
hint: 1000 miliseconds = 1 second
Example:
- Code:
Sleep 1000;//program waits for 1 second
Last edited by Admin on Wed Feb 03, 2010 4:16 am; edited 1 time in total
Admin- Pirate King
- Posts : 559
Re: Sleep command
hey dou you know how to make it play
music files....
video files?
music files....
video files?
Lunsfordium- [Blankie]
- Posts : 194
Re: Sleep command
DOS does not in itself support music or video, but if you have a program that does then you open the file with the program.
Paul- Pickaxe
- Posts : 611
Re: Sleep command
Milliseconds, by the way. Not microseconds. Milliseconds is "ms" while microseconds are "µs". I microseconds is one thousandth of a milliseconds, or one millionth of a seconds. So, kind of a big difference.
1 s = 1000 ms = 1000000 µs
1 s = 1000 ms = 1000000 µs
Corey- Mod
- Posts : 462
Re: Sleep command
Heh. I love most mathematical/scientific symbols. Sometimes I just sit there and draw them
Corey- Mod
- Posts : 462
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|