Re: [fpc-pascal] Seek to EOF of file of byte

2017-11-18 Thread Mark Morgan Lloyd
On 18/11/17 21:15, pasc...@piments.com wrote: On 18/11/17 20:27, Mark Morgan Lloyd wrote:> because the program is being viewed critically by the ALGOL programmer > whose code Algol, one my all time favourite languages. while wendif fi why is this not universally adopted? I still

Re: [fpc-pascal] Seek to EOF of file of byte

2017-11-18 Thread pascalX
On 18/11/17 20:27, Mark Morgan Lloyd wrote: because the program is being viewed critically by the ALGOL programmer whose code Algol, one my all time favourite languages. while wend if fi why is this not universally adopted? I still comment my C code with fi's and wend's to keep

Re: [fpc-pascal] Seek to EOF of file of byte

2017-11-18 Thread Mark Morgan Lloyd
On 18/11/17 19:30, Graeme Geldenhuys wrote: On 2017-11-18 15:44, Mark Morgan Lloyd wrote:> How should one do this?> https://www.freepascal.org/docs-html/current/rtl/system/seekeof.html> implies that it's only for text files, Seek(f, FileSize(f)) seems excessive. Just curious, why would you

Re: [fpc-pascal] Seek to EOF of file of byte

2017-11-18 Thread Graeme Geldenhuys
On 2017-11-18 15:44, Mark Morgan Lloyd wrote: How should one do this? https://www.freepascal.org/docs-html/current/rtl/system/seekeof.html implies that it's only for text files, Seek(f, FileSize(f)) seems excessive. Just curious, why would you consider the "old technology" instead of using

[fpc-pascal] Seek to EOF of file of byte

2017-11-18 Thread Mark Morgan Lloyd
How should one do this? https://www.freepascal.org/docs-html/current/rtl/system/seekeof.html implies that it's only for text files, Seek(f, FileSize(f)) seems excessive. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or