I have a data file containing thousands of first names. I
randomly generate a number between 1 and 17547. Let's say
the number is 500. Then I will read the file and count the names
until the 500th name comes up.
If the user does not like it and wants a different name, is
there a command that will tell the program to start reading
the file from the beginning again? Like RESTORE for data lines?
I can work with CLOSE and just OPEN the file again, but is there
another way to start reading from the beginning again I wonder?
Thank you.
Robert Carneal
------------------
randomly generate a number between 1 and 17547. Let's say
the number is 500. Then I will read the file and count the names
until the 500th name comes up.
If the user does not like it and wants a different name, is
there a command that will tell the program to start reading
the file from the beginning again? Like RESTORE for data lines?
I can work with CLOSE and just OPEN the file again, but is there
another way to start reading from the beginning again I wonder?
Thank you.
Robert Carneal
------------------
Comment