View Single Post
Old Mar 18th, 2005, 8:39 PM   #7
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 6 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
I'm confused, is all you want this....

[php]
Randomize

Dim rand as integer

For I = 1 to 100
rand = Int((Rnd * 3) + 1)

If rand = 1 then
listbox.Items.Add("Rock")
else if rand = 2 then
listbox.Items.Add("Paper")
else
listobx.Items.Add("Scissors")
end if
Next I
[/php]
__________________

tempest is offline   Reply With Quote