| Action Returns a random number. Syntax var = RND(limit) Remarks Limit The maximum 
        number that will be assigned to the random number. The RND() function uses 2 internal bytes to store the value of the random 
        seed.
 See 
        also Example'---------------------------------------------------------
 ' (c) 2000 MCS Electronics
 ' RND.BAS
 '---------------------------------------------------------
 Dim W As Word
 Do'get a random number and limit it to be maximum 100
 W = Rnd(100)
 Print W
 Loop
 End
 |