GetKeyCode

From SCAR Divi Manual
Jump to: navigation, search

Definition

function GetKeyCode(const Key: Char): Byte;

Availability

SCAR Divi 3.00 > 3.34

Description

Returns the key code associated with the character defined by Key used to send keys.

Example

begin
  WriteLn(GetKeyCode('a'));
  WriteLn(GetKeyCode('A'));
end.

Output:

65
65