|
-
May 14th, 2003, 09:50 AM
#1
Thread Starter
Member
Randomizer error
I have tried two way to create a random number thing.
here is the two way i used.
Dim chooseNo As New Random()
RanCol = chooseNo.Next(0, 6)
Dim RanTurns As Integer
Randomize()
RanTurns = CInt(Int((100 * Rnd()) + 1))
NOW both of them work fine ^^ , well that what i thought after so many goes i get a stack error
do i use a try block to ingore the error or do i have to do something else to clear the stack in the randomize()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|