Thema: Delphi random()

Einzelnen Beitrag anzeigen

Benutzerbild von SnuffMaster23
SnuffMaster23

Registriert seit: 13. Feb 2006
Ort: Kempten
253 Beiträge
 
#7

Re: random()

  Alt 12. Mai 2007, 14:49
Probier mal
Delphi-Quellcode:
function TForm1.Addieren : integer;
begin
  Result := random(6)+1;
end;
Addieren := random(6)+1; ist BASIC-Syntax
"Conspiracy is the poor man's mapping of the world" - Fredric Jameson
  Mit Zitat antworten Zitat