IsFKeyDown
From SCAR Divi Manual
Definition
function IsFKeyDown(Num: Byte): Boolean;
Availability
SCAR Divi 3.00 > Current
Description
Returns true if an F-key specified by Num is being pressed.
Example
begin repeat Wait(500) until IsFKeyDown(8); WriteLn('Pressed F8'); end.