home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / fgl / fglight / expas.arj / TEMP / 14-01.PAS < prev    next >
Pascal/Delphi Source File  |  1995-01-20  |  237b  |  19 lines

  1. program main;
  2. uses fgmain, fgmisc;
  3.  
  4. const
  5.   ESC = 27;
  6.  
  7. var
  8.   key, aux : byte;
  9.  
  10. begin
  11.   fg_initpm;
  12.   repeat
  13.   begin
  14.     fg_getkey(key,aux);
  15.     writeln('key = ',key:3,'  aux = ',aux:3);
  16.   end;
  17.   until (key = ESC);
  18. end.
  19.