home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / fgl / fglight / exbas.arj / TEMP / 16-01.BAS < prev    next >
BASIC Source File  |  1995-01-20  |  286b  |  18 lines

  1. REM $INCLUDE: 'fastgraf.bi'
  2.  
  3. DEFINT A-Z
  4.  
  5. DIM KeyCode AS STRING*1
  6. DIM AuxCode AS STRING*1
  7.  
  8. Seconds& = 0
  9.  
  10. DO
  11.    FGwaitfor 91
  12.    Seconds& = Seconds& + 5
  13.    PRINT Seconds&; "seconds have elapsed."
  14.    FGintkey KeyCode, AuxCode
  15. LOOP WHILE ASC(KeyCode)+ASC(AuxCode) = 0
  16.  
  17. END
  18.