Autor Beitrag
THF
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110

Vista
Delphi 2005 professional
BeitragVerfasst: Di 01.03.05 19:28 
Hallo,

wie kann ich folgendes ausdrücken.
Ich möchte eine Schleife mit einer Variablen i
die verschiedene nicht aufeinanderfolgende
werte (z.B. 2,5,9) hat z.B.
ausblenden Delphi-Quelltext
1:
2:
3:
for  i := 259  DO

Anweisung

Ich weiß allerdings nicht wie man das ausdrückt.

Gruß

THF
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: Di 01.03.05 19:37 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
const
  A: Array [1..3of Integer = (259);
var
  I := Integer;
begin
  for I := Low(A) to High(A) do begin
    {A[I] hat nun den Wert}
  end;
end;
Gruß hape!

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.
THF Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110

Vista
Delphi 2005 professional
BeitragVerfasst: Di 01.03.05 20:09 
Hallo,

Danke für die Antwort.

Gruß

THF