HarryW
Dec 12th, 2000, 12:58 AM
The Rnd function will return a random number between 0 and 1. If you want an integer between say 1 and 10 inclusive then you would do this:
RandomNum = Int(Rnd * 10) + 1
So for your list, it depends on how you are storing your list. If you have it in an array then just use a random array index, like this:
RandomWord = WordsArray(RandomIndex)
RandomNum = Int(Rnd * 10) + 1
So for your list, it depends on how you are storing your list. If you have it in an array then just use a random array index, like this:
RandomWord = WordsArray(RandomIndex)