Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Rolf Buenning Newsgroups: comp.lang.pascal.misc Subject: Re: Do'nt know Date: 3 Sep 2025 13:59:48 GMT Lines: 34 Message-ID: References: Reply-To: Rolf Buenning X-Trace: individual.net lvRU+236Ui58Ttf8RySofAI65dwGJ04WICzuC2r5mFty/90Cqr Cancel-Lock: sha1:/gCBveBDhcafUl4o5nPc+zMSdaE= sha256:WjwZPhuaySvL/tmp1Sbcw+e5vH3Uix0ufK6a/hy/k0U= User-Agent: slrn/1.0.3 (Linux) Xref: csiph.com comp.lang.pascal.misc:2816 On Tue, 2 Sep 2025 09:53:57 -0000 (UTC), David LaRue tippte: > Rolf Buenning wrote in news:mhlosjFh4s9U1 > @mid.individual.net: > >> On 25 Aug 2025 07:01:09 GMT, Rolf Buenning tippte: >> >>> Thanks and have a nice time. >> >> Hallo again! :-) >> > I'd read up on the sizeof() and seek() functions. Make sure that you are > asking for the End of the File. If you are writing an integer number of > Records perhaps adding one to the value would work. IIRC, this was a special > value like -1 to indicate seeking to the end of the file to write more data. Hallo David, Thanks for your answer. I made myselfe a small console program to test these things more easily. FileSize(File) returns the number of reords in the file. a seek(file, filesize(file)) is correctly. Filepos then is behind the last written record. Next writing save the record behind the last written. in the console program it works fine. I think, there are errors in my application, that I have to find. My I ask where you are from? I think not from Europa. -- Gruss Rolf