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