Einzelnen Beitrag anzeigen

Hansdieter

Registriert seit: 14. Jan 2007
8 Beiträge
 
Delphi 2005 Personal
 
#3

Re: Brauche Hilfe bei roulettespiel, (feld-inhalt x3 + Geldf

  Alt 14. Jan 2007, 18:51
Delphi-Quellcode:
procedure TForm4.LOSClick(Sender: TObject);
var GELD, y : integer;
begin
ZAHL.caption:=floattostr(int(random*36));
y:=floattostr(ZAHL.caption);
IF (y>0) AND (y<13)
THEN
BEGIN
money.Text:=strtofloat(floattostr(money.text)+((floattostr(first.caption))*3));
first.text:='0';
hm hier is alles was ich hab aber das stimmt hinten und vorne nicht
  Mit Zitat antworten Zitat