CLICK TO WATCH IN HIGH DEFINITION: http://www.youtube.com/watch?v=yOaDlcvm5Zw&fmt=18
In this tutorial I will show you how to use case statements and select case. You can use this for many different things, hope you enjoy. If you have any questions then PM me.
CODE:
Dim Tutorial As Integer
Tutorial = Int(Rnd() * 10)
Select Case Tutorial
Case 1
Text1.Text = "This is case 1"
Case 2
Text1.Text = "This is case 2"
Case 3
Text1.Text = "This is case 3"
Case 4
Text1.Text = "This is case 4"
Case 5
Text1.Text = "This is case 5"
Case 6
Text1.Text = "This is case 6"
Case 7
Text1.Text = "This is case 7"
Case 8
Text1.Text = "This is case 8"
Case 9
Text1.Text = "This is case 9"
Case 10
Text1.Text = "This is case 10"
End Select
The music ruins this tutorial, too bad.
thefather1961 2 years ago
does any one know were they learn the codes an stuff ?
DjLowse 2 years ago
Oh man!!!!!!Thx a lot!!! U are the best:P..Good Luck!
NanoXCompany 2 years ago
Thank you so much i've been searching google for this for a bit it really helped add me as your friend
Neilhelp 3 years ago