Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


simple question


simple question

Author
Message
Mad Monkey
Mad Monkey
Forum God
Forum God (363 reputation)Forum God (363 reputation)Forum God (363 reputation)Forum God (363 reputation)Forum God (363 reputation)Forum God (363 reputation)Forum God (363 reputation)Forum God (363 reputation)Forum God (363 reputation)

Group: Forum Members
Posts: 1, Visits: 2

Hello All I have very simple question and Im making very simple game:

 

Say i have random number generator with Select Case in a loop

counter = 0

Do

number = Int(rnd * 20) + 1

Select case number

Case 1

.....

Case 2

...etc

counter = counter + 1

Loop While counter < 10

So I have the same case looping 10 times, but the thing I want is that when the case was selected for it never to be selected in the next loops? Is there any simple way to do that?    P.S Im realy new to vb6 so try not to confuse me


GO



Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search