Re: Restore
- Posted by Daniel Berstein <danielberstein at USA.NET> Aug 30, 1997
- 741 views
> This seems inefficient. I'd rather open the file once outside the > subroutine, leave it open, and start at the beginning of the file whenever I > enter the subroutine. But without the pseudo-'restore' command, the next > time around I begin looking in the file where I left off before. Use the "seek()" function. If you want to 'resume' the last positon you accesed in the file, you can store 'where()' in a variable and then 'seek()' to it. Regards, Daniel Berstein danielberstein at usa.net http://www.geocities.com/SiliconValley/Heights/9316