From: "Matt Kris" Newsgroups: comp.os.msdos.djgpp Subject: Randon Function Date: Sat, 7 Feb 1998 01:03:30 -0500 Organization: Delta College Lines: 10 Message-ID: <6bgtsb$h8o@alpha.delta.edu> NNTP-Posting-Host: pm182-07.dialip.mich.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I need to make a function that will open a text file that contains a list of 100 words and take a randon word and store it in an array. I made a function that will open the file and read the first word but I don't know how to read the other lines. Is there a way to move through files like that? Please help. MaTT KRiS