Re: HELP with 'seek'

new topic     » goto parent     » topic index » view thread      » older message » newer message

Irv,

Thanks  for the latest info. I'm new to Euphoria, and in study mode. What I'm
currently doing is experimental, just to
see how things work, like how many records can I read into a buffer, then how
large an array can I make from the fields
within those records, etc.

In the process, I'm learning a lot about Euphoria, thanks to you, Rob Craig and
other who've offer insights and
suggestions.

There are simpler ways of doing things, and you've pointed out many, which I
appreciate and am implementing, for study
purposes.

One day, I'll be ready to get back to commercial development, using Euphoria.

Thanks again for your kind help.

Regards,

Jim Duffy

Irv Mullins wrote:

> I'm wondering how large is your data set? The technique of reading back to
> pick
> up the last three records would be necessary for HUGE data files, but more
> work than necessary for smaller sets (of, let's say, 10 - 20,000 lines).
> Better and faster to just read them into a sequence, and use the portion you
> want,  especially since you eventually want the data in an array anyway.
>
> If you really are reading huge data sets, maybe a better way would be to
> find the end of the file, then read backwards until you count 3 linefeeds,
> then
> read forward from there.
>
> Regards,
> Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu