[ASP] Random blijft zelfde :?

Pagina: 1
Acties:
  • 41 views sinds 30-01-2008

  • reminder
  • Registratie: Maart 2001
  • Laatst online: 17-08 19:16
Ik heb dus een upload script gemaakt en die moet dus de files met een random naam weg schrijven. alleen het probleem is dat als hij dat hij steeds maar de zelfde random neemt (kortom gewoon geen random)

dit is dus het stukje code :
code:
1
2
dim getal
getal = Int((10 - 1)*Rnd()- 1)

Each year, the Rainforest is responsible for over 3000 deaths from accidents, attacks or illnesses. There are over 700 things in the rainforest that cause cancer. Join the fight now and help stop the Rainforest before it's too late


  • sjroorda
  • Registratie: December 2001
  • Laatst online: 09:21
Er is ergens een functie randomize geloof ik (weet eerlijk gesegd niets van ASP, maar wel van QuickBasic, en da's volgens mij toch hetzelfde :P)

  • reminder
  • Registratie: Maart 2001
  • Laatst online: 17-08 19:16
dat is die gewoon 'Rnd' maar hij houd hem is ze geheugen of zo

Each year, the Rainforest is responsible for over 3000 deaths from accidents, attacks or illnesses. There are over 700 things in the rainforest that cause cancer. Join the fight now and help stop the Rainforest before it's too late


  • sjroorda
  • Registratie: December 2001
  • Laatst online: 09:21
Volgens mij was het idee van randomize(timer()) dat je steeds een andere randomseed had; ofwel: zonder neemt-ie steeds hetzelfde random rijtje, met steeds een andere

  • oZy
  • Registratie: Juli 2001
  • Laatst online: 13:38

oZy

Randomize <- klik voor info

  • dusty
  • Registratie: Mei 2000
  • Laatst online: 21-02 00:06

dusty

Celebrate Life!

Standaard Manual werk.

Back In Black!
"Je moet haar alleen aan de ketting leggen" - MueR

Pagina: 1

Dit topic is gesloten.