Autor Beitrag
Delphi Noob
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 24

win xp
D6 Enterprise
BeitragVerfasst: So 10.07.05 16:54 
Hallo ich hab mal ne Frage:
Wie kann ich bei Delphi Zahlen von 001-999 generieren und dann in ein Textdukument schreiben lassen
:?: :?:
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: So 10.07.05 16:56 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
var i:integer;
begin
 for i:=1 to 999 do begin
  Memo1.Lines.Add(FormatFloat('000',i));
 end;
end;

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
Delphi Noob Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 24

win xp
D6 Enterprise
BeitragVerfasst: So 10.07.05 17:03 
wunderbar vielen dank für deine schnelle antwort :D