Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5432

Re: Add text to logfile

From JohnMartens <martens@tennishulp.info>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Add text to logfile
Date 2013-07-01 22:15 +0200
Organization A noiseless patient Spider
Message-ID <kqsnn1$opp$1@dont-email.me> (permalink)
References <1d052544-284b-4137-9b29-e4d68829b576@googlegroups.com>

Show all headers | View raw


cMemo := MemoRead(cLogFileNm)
cMemo += cAddition
MemoWrit(cLogFileNm,cMemo)



Op 1-7-2013 21:44, Rob van Erk schreef:
> Is there an easy way to add text to a log(txt) file? I want to use a logfile in my program but every time I use Writeline (or other) it looks like the text is written at start of existing logfile. I simply want to add text to a logfile, not replace text. Seems to me I have to open the file (Fopen2) and point cursor to last row before writing but sure how to do this.
>
> Thanks,
> Rob
>

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Add text to logfile Rob van Erk <erk.v@hotmail.com> - 2013-07-01 12:44 -0700
  Re: Add text to logfile JohnMartens <martens@tennishulp.info> - 2013-07-01 22:15 +0200
    Re: Add text to logfile Rob van Erk <erk.v@hotmail.com> - 2013-07-01 21:04 -0700
  Re: Add text to logfile Mathias <mathias.hakansson@consultec.se> - 2013-07-01 22:25 -0700
    Re: Add text to logfile Malcolm G <malcolm-news2012delete@delete.jobstream.com> - 2013-07-02 10:07 +0100
  Re: Add text to logfile "Valery N." <mustangsoftcom@gmail.com> - 2013-07-01 23:29 -0700
  Re: Add text to logfile Rob van Erk <erk.v@hotmail.com> - 2013-07-02 10:44 -0700
    Re: Add text to logfile D.J.W. van Kooten <public@ic2remove.this.com> - 2013-07-02 21:12 +0200

csiph-web