home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer 7500
/
MAX_PROGRAMMERS.iso
/
PASCAL
/
PASDEMO2.ZIP
/
TESTKBD1.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Pascal/Delphi Source File
|
1988-01-16
|
228 b
|
12 lines
program TestKbd;
uses Crt, Turbo3;
var
c: char;
begin
read( Kbd, c );
if ( c = #27 ) and KeyPressed then begin
read( Kbd, c );
writeln( 'Extended key: ', c );
end else
writeln( c );
end.