Einzelnen Beitrag anzeigen

Benutzerbild von netscanner
netscanner

Registriert seit: 2. Dez 2005
Ort: Dieburg
280 Beiträge
 
Delphi 6 Enterprise
 
#2

Re: Stringgrid & Arrays

  Alt 8. Mär 2006, 21:28
So sieht der Code übrigens aus wenn ich keine Schleife für a (mein Problem) mit reinsetze:

Delphi-Quellcode:
a := 0;
c := 0;

for b := 0 to 9 do begin
c := c + 1;
stringgrid2.Cells[a,b] := inttostr (word1[c]);
end;

for b := 0 to 9 do begin
a := 1;
c := c + 1;
stringgrid2.Cells[a,b] := inttostr (word1[c]);
end;


for b := 0 to 9 do begin
a := 2;
c := c + 1;
stringgrid2.Cells[a,b] := inttostr (word1[c]);
end;

//usw. a immer weiter bis 9...
Martin
  Mit Zitat antworten Zitat