hey there, umm so i have an array of words and now i need to be able to randomly choose one of those words when the appropriate button is clicked, its for a hangman game...
i know that
randomize;
goes in there sumwhere...
Before calling random function you should call procedure randomize, it will initiate pseudorandom number generator.
It's necessary because without calling procedure randomize you will get the same random sequence
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Previous Thread in Pascal and Delphi Forum Timeline:Pascal assistance