Restore
- Posted by "Wallace B. Riley" <wryly at MINDSPRING.COM> Aug 28, 1997
- 733 views
Euphoria apparently has no command corresponding to 'restore' in BASIC. Without it, I have to open a file inside a subroutine, say 'get', 'get', 'get', ... in a loop until I find what I am looking for in the file, then close the file. Next time I enter the subroutine, I open the file again and start over. 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. Have I overlooked something? Wally Riley wryly at mindspring.com