AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren

belibig oftes Würfeln

Ein Thema von General Wolf1 · begonnen am 3. Feb 2007 · letzter Beitrag vom 3. Feb 2007
 
General Wolf1

Registriert seit: 3. Feb 2007
Ort: Radebeul
16 Beiträge
 
#6

Re: belibig oftes Würfeln

  Alt 3. Feb 2007, 16:20
Hie vieleicht nochmal mein Quellcode damit man vieleicht mehr darunter versteht

procedure TForm1.Button1Click(Sender: TObject);
var a,x,b,c,g,f,h,i,j,k,l,m,n,o,p,q,r:integer;

begin
a:=strtoint(Edit1.Text);
repeat
randomize;
b:=random(6)+1;
case b of
1:inttostr(g);
2:inttostr(h);
3:inttostr(i);
4:inttostr(j);
5:inttostr(k);
6:inttostr(l);
end;
until a=a;
for f:= 0 to g do
begin
label16.Caption:=inttostr(f);
end;
for m:= 0 to g do
begin
label17.Caption:=inttostr(m);
end;
for n:= 0 to g do
begin
label18.Caption:=inttostr(m);
end;
for o:= 0 to g do
begin
label19.Caption:=inttostr(o);
end;
for p:= 0 to g do
begin
label20.Caption:=inttostr(p);
end;
for r:= 0 to g do
begin
label21.Caption:=inttostr(r);
end;
Vieleicht findet jemand den oder die Fehler und kann helfen
General Wolf1 hat gesprochen*hihi*
  Mit Zitat antworten Zitat
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:26 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz