02-07-2023, 09:21 PM
@bplus I think you're missing the whole point here -- the objective is to read the file *without* having to OPEN it at the start, or CLOSE it at the end. That's why there's the SEEK in there at the top, to move to INPUT pointer manually to the beginning of the file. It's probably opened once at the start of the program, but read from in various different subroutines and functions.
Try my simple post before yours, with your data file.
Try my simple post before yours, with your data file.