Quantcast
Channel: random
Viewing all articles
Browse latest Browse all 12

random

$
0
0
Yes, that is a way to do it, but the "For i = 1 To 1" and the "EndFor" are not necessary for it to work. Another thing to note is that if you want a random number from 1 to 100 you wouldn't need the -1 part. So in your case, a better way to do it would be rand = Math.GetRandomNumber(100). And yes, it is possible to generate a psuedo-random number from the clock. You would use the class "Clock." For example, if you wanted to use the milliseconds of the clock, you would use Clock.Milliseconds.

I am an 11 year old that loves math, games, and computers. 'Binary is as easy as 1, 10, 11.'


Viewing all articles
Browse latest Browse all 12

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>