[fpc-pascal] Seek with text file
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Tue Apr 3 15:35:48 CEST 2018
On 03/04/18 12:45, Rik van Kekem wrote:
> From the code-snippet from Anthony you can see it's really easy to use.
> 1000 lines of about average 70 characters per lines would
> be72*1000=70MB.
72 kB, not MB. Big enough to give some very old systems problems if they
used a Windows component as an editor, but these days trivial.
Historically, things like "text" and "file of string[80]" have been
fraught because of OS-specific interpretations of what a line of text
was. These days there are still ambiguities because of UTF-8 etc.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list