GetKeyCode

From SCAR Divi Manual
Revision as of 23:09, 11 October 2012 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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