an1.Caption:= Win.ReadString('W3', IntToStr(a), an1.Caption);
Win.Free;
yes:= an4.Caption;
end;
end;
end;
procedure TForm1.start();
begin
Randomize; //Включаем генератор случайных чисел
for i:=1 to n do mass[i] := 0; //n – количеству вопросов
{$I-} //отключаем контроль ошибок ввода/вывода.
//делаем все элементы видимыми для пользователя
Memo1.Visible:= True;
RadioGroup1.Visible:= True;
Label1.Visible:= True;
an1.Visible:= True;
an2.Visible:= True;
an3.Visible:= True;
an4.Visible:= True;
p1.Visible:= True;
p2.Visible:= False;
p3.Visible:= False;
p4.Visible:= False;
p5.Visible:= False;
balls:= 0;
Label2.Visible:= False; //прячем результаты
Label1.Caption:= 'Первый вопрос:';
dir2:= 'C:\base.bsd'; //путь к расшифрованной базе
//копируем зашифрованную базу на диск С:
CopyFile(PChar(ss), PChar(dir2), True);