getKeyClicked
function getKeyClicked: integer;
Returns the code of the last clicked key on the keypad, or KE_NONE if no key is pressed. The standard key codes have predefined constant values:
begin
while getKeyClicked <> KE_STAR do
begin
delay(100);
end;
end.
See also: getKeyPressed, keyToAction