Thema: array test

Einzelnen Beitrag anzeigen

davtix

Registriert seit: 29. Mai 2003
Ort: Berlin
87 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#3

AW: array test

  Alt 3. Nov 2013, 14:19
okay habs rausgefunden


Delphi-Quellcode:
s:= edit2.Text;


for i := 1 to 100 do
  begin
    if a[i] = s then begin
                      label6.Caption:= ('gefunden');
                      label7.Caption:= inttostr(i)
                 end;
  end;
  Mit Zitat antworten Zitat