This is the first time i'm using VB and was wondering how i can randomly generate numbers from 1-5. is it just:
dim x as integer=Rnd(4)+1
??
also, do i import anything for the Rnd method to work? Or create some sort of function?
|
Results 1 to 2 of 2
Thread: Random numberThreaded View
|
Click Here to Expand Forum to Full Width |