Autor Beitrag
tmkb
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 59



BeitragVerfasst: Sa 09.11.02 21:34 
Hallo,
gibt es zum generieren zufälliger Zahlen einen besseren befehl wie random(999) ? weil das generiert immer dieselbe reihenabfolge der einzelnen Zahen.
mfg
tmkb
waldmeister
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 136

Win XP
D7 Enterp
BeitragVerfasst: Sa 09.11.02 21:53 
schreib in dein Form.Create mal

ausblenden Quelltext
1:
Randomize;					


dann sind die zahlen immer anders!

_________________
der wald....der meister....der meister des waldes....der waldmeister
tmkb Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 59



BeitragVerfasst: Sa 09.11.02 21:58 
danke!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 10.11.02 11:48 
nur so nochmal zum background verständnis: randomize startet den zufallszahlen generator !!!

_________________
In the beginning was the word.
And the word was content-type: text/plain.