GetKeyCode

From SCAR Divi Manual
Revision as of 15:57, 2 July 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function GetKeyCode(const Key: Char): Byte; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the ke...")
(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 > Current

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