Restore point

if i read through a pool of data and i then wish to restore to a point half way through that same data pool, how do i do it? (without using line numbers). Thank you.

Comments

re: Restore point

What do you mean by a 'pool' of data? Are these data in a file or are you entering it within your program as DATA statements. If the latter, then read the data into an array. For example, if you have 10 data points...

dim points(10)
for n = 1 to 10
read points(n)
next n

data 1,2,3,4,5,6,7,8,9,10

With the data in this array, you can access it from any point (begining, middle, end), but shouldn't have to actually read the data again.

If the data is in a file, then you should look into RECORD files, and here I will refer you to the manual.

If you have something else in mind, we need more information.

rwt