home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / w3_prog / lbas09p2.arj / CLOCK.BAS < prev    next >
Encoding:
BASIC Source File  |  1992-03-02  |  237 b   |  16 lines

  1.  
  2.  
  3.     'This program creates a clock display 
  4.     'To quit this program, type CTRL-C
  5.  
  6. [loop]
  7.  
  8.     time$ = time$()
  9.     print date$(); "  -  "; time$ ;
  10.  
  11. [wait]
  12.  
  13.     if time$ <> time$() then cls : goto [loop]
  14.  
  15.     goto [wait]
  16.