home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng)
/
ProfitPress-MegaCDROM2.B6I
/
GRAPHICS
/
PLOT
/
SURFSRC3.ZIP
/
CHECKEY.INC
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1989-08-10
|
364 b
|
16 lines
function CHECKEY: boolean;
{ Return TRUE if the 'A' key has been pressed, or FALSE otherwise }
var c: char;
begin
c := ' ';
if (keypressed) then begin
c := readkey; (*read (kbd, c);*) (**)
if (upcase (c) = 'A') then
Checkey := TRUE
else
Checkey := FALSE;
end else
Checkey := FALSE;
end; { function CHECKEY }