11-03-2023, 11:21 PM
(This post was last modified: 11-03-2023, 11:23 PM by PhilOfPerth.)
I need to create a file that I can access randomly, by specifying a record-number
I think this requires an Indexed file, but don't know how to create this.
I would need to access it with something like
Open "myfile" for input as #1
Input #1, RecNum10 (to access the 10th record).
I can do this by reading from the file 10 times, but this would be slow.
Any suggestions?
I think this requires an Indexed file, but don't know how to create this.
I would need to access it with something like
Open "myfile" for input as #1
Input #1, RecNum10 (to access the 10th record).
I can do this by reading from the file 10 times, but this would be slow.
Any suggestions?
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)
Please visit my Website at: http://oldendayskids.blogspot.com/
Please visit my Website at: http://oldendayskids.blogspot.com/