Try loading all of the words at the beginning and storing them in an array.
Open "textfile.txt" For Input As #1
For a = 1 To wordmax
Input #1, word(a)
Next
Close #1
newword = Int(Rnd(wordmax))
Print word(newword)
That should show a random word from a textfile that has them stored...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.