That did not work for me. When I read the data is put into it so I was putting empty into it after the read to make sure it was clear.
I tried not putting empty into it and used, repeat until it = empty but apparently it never became empty. JB > On May 28, 2017, at 10:37 AM, hh via use-livecode > <use-livecode@lists.runrev.com> wrote: > >> JB wrote: >> ... I want to read in sections from the EOF and >> stop at the beginning of the file instead reading >> from the start to EOF. >> >> I have no problems opening, reading and >> closing files or reading in sections. >> >> Does anyone know the easiest way to determine >> when I reach the start of the file similar to >> using EOF to stop reading at the end of the file? > > As you know how to read in sections: > Simply read one section after the next one until > it is empty. > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode