Курсовая работа: Опрацювання масивів
2: Sumbol: =Ukr [Random(Length(Ukr)) +1] ;
end;
end;
1: begin
case RG. ItemIndex of
0: Sumbol: =RusB [Random(Length(RusB)) +1] ;
1: Sumbol: =RusL [Random(Length(RusL)) +1] ;
2: Sumbol: =Rus [Random(Length(Rus)) +1] ;
end;
end;
2: begin
case RG. ItemIndex of
0: Sumbol: =EngB [Random(Length(EngB)) +1] ;
1: Sumbol: =EngL [Random(Length(EngL)) +1] ;
2: Sumbol: =Eng [Random(Length(Eng)) +1] ;
end;
end;
3: Sumbol: =Num [Random(Length(Num)) +1] ;
end;
end;
procedure TForm1. Edit1KeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
if Key=13 then Search;
end;
procedure TForm1. SpeedButton1Click(Sender: TObject);
begin
Close;
end;