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

  1. REM $INCLUDE: 'fastgraf.bi'
  2.  
  3. DEFINT A-Z
  4.  
  5. CONST Esc = 27
  6.  
  7. DIM KeyCode AS STRING*1
  8. DIM AuxCode AS STRING*1
  9.  
  10. DO
  11.    FGwaitfor 9
  12.    FGintkey KeyCode, AuxCode
  13.    PRINT USING "Key = ###  Aux = ###"; ASC(KeyCode), ASC(AuxCode)
  14. LOOP WHILE KeyCode <> CHR$(Esc)
  15.  
  16. END
  17.