VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RE: Random numbers question MrBoogerman (7 replies, 0 views) (2000-Jun-28) to make it easier on the eye and to have it randomize different every time it would be
highvalue = 5000
lowvalue = 10
Randomize 'makes it so it is different every time you start the aplication
MyVal = Int(Rnd * (highvalue-lowvalue)) + lowvalue
cuz people who start out will go if i have it like
MyVal = Int(Rnd * 4990) + 10
they will be all like why 4990 instead of 5000, if you are speeding through it it is easier to tell if you made a mistake if you are using the numbers intended instead of numbers less than what you want them to turn out.
|