Code center > Suggestions

Regarding the seed value function!

<< < (3/6) > >>

Botsareus:
Pinball heh I thought that was a vedio game , I could not figure out how to control anything exsept the start button, and delay.

Botsareus:

--- Quote ---Is it that randomizing to the timer makes no apparent difference to the way it forms?
--- End quote ---

NO!!!!!!!!!!!!!!!!!!! NEVER!!!!!!!!!!!


Randomizing the timer too often is a bad bad idea, need I say more?

Numsgil:
I won't pretend to know how VB runs random numbers, but if it's anything like modern random number sequence generators, the period is quite large (I think in the billions).

So you just don't need to reseed it more than once. If you can find something to the contrary, I'll of course change my opinions, but I'm fairly certain reseeding the random function continuously actually decreases it's statistical randomness ( a wierd thing, I know).

Botsareus:
AND I GOT PROVE OF WHAT NUM JUST SAYED , AND I POSTED IT TOO.

PurpleYouko:
Well that was freaky. :wacko:

When I clicked the download button earlier while I was at work, it opened up a text file directly into internet explorer. There was no forms, no buttons and no visual basic. Just a bunch of text.

Now when I click the button I get a VB program with forms and buttons just like you said Bots.

I don't see a damn bit of difference in the randomness of the dots whether we are reseeding or not.

The one thing your program does show is that reseeding on each cycle is very expensive in processor time. The program slows to about 1/10 of its speed when reseeding on my PC

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version