Sugestions:
        OUTPUT filespec APPEND
         WRITE 'message', .var = w

SET VAR the " 'message', .var" to a varfirst, then WRITE .varfirst
Make it do a miltiple operation first, then the WRITE with a Single
operation.

RRR

----- Original Message -----
From: "Dennis McGrath" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Monday, May 14, 2007 6:59 AM
Subject: [RBASE-L] - Weird DOS behavior


> Has anyone seen this one?
>
>
>
> I'm running the latest build of RBDOS 7.5 but this has been a problem
> before that version.
>
>
>
> I have some logging code that appends data to a log file.
>
> Each line is created by code like the following:
>
> OUT logfile.txt
>
> Write 'something', .vsomethingelse
>
> OUT SCR
>
>
>
>
>
> Funny thing is sometimes the lines are separate and sometimes they are
> not.
>
> I looked at the file with a hex editor and the problem turns out to be
> missing LF (CHAR(10)) characters.
>
> CR (CHAR(13)) characters are still there.
>
>
>
> The code does not change, the computer has not changed.
>
> Some days it works correctly and some days it does not.
>
>
>
> Anyone ever seen this?
>
> Solution?
>
>
>
> Dennis McGrath
>
>
>
> !DSPAM:46486c15119791557515124!
>

Reply via email to