home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 63 / CDACTUAL63.iso / Aplicaciones / DarkBasic / DemoDarkBasic.exe / help / examples / flow / exam08.dba < prev    next >
Encoding:
Text File  |  1999-09-07  |  737 b   |  25 lines

  1. Rem * Title  : SLEEP Command
  2. Rem * Author : DBS-MB
  3. Rem * Date   : 1st August 99
  4. rem ===========================================================
  5. rem DARK BASIC EXAMPLE PROGRAM 8
  6. rem ===========================================================
  7. rem This program will show you how to use the sleep command
  8. rem -----------------------------------------------------------
  9.  
  10. rem Set the ink to white and paper color to black 
  11. ink rgb(244,214,210),1
  12.     
  13. print "please type how long you what your computer to sleep for"
  14. print "in seconds"
  15. input a
  16. print "thank you"
  17. print "your computer will sleep for ",a," second"
  18. print "I`M GOING TO SLEEP NOW FOR ",a," SECONDS" 
  19. sleep (a*1000)
  20. print "I`M BACK NOW"
  21.  
  22. rem End of program
  23. end
  24.  
  25.