I have basic knowledge of file in out and random functions. For a current project I would like to have a file opened, a word randomly picked out of the text file and assigned to a varriable. I can't quite figure out how to do this. Any hints/help is greatly appreciatted.



LinkBack URL
About LinkBacks



It also should be noted that the OP didn't provide any specifics with regards to bias, duplicate words, efficiency, etc.