|
-
Jul 18th, 2001, 12:27 AM
#1
Thread Starter
Junior Member
Can anyone help me figure this out?
I asked the same question today, and many nice folks gave me their opinions, thanx again, but I still have a problem solving it.
The idea is simple, but as a beginner it isn't all that easy to me.
So far I've managed to write this code,
Private Sub startButton_Click()
Dim myARR(0 To 9)
For i = 0 To 9
Randomize
myARR(i) = (Int(Rnd * 100) + 1)
Print myARR(i)
Next i
End Sub
, which will generate random number between 1 to 100 and display them on the form, but I have no idea how to sort them in numerical order. Can anyone help me about this?
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
|