Gunner, Using an old Norton Utility "DISKEDIT" I was able to look at a file written by one of my applications. Each line ends with x'0D' x'0A' characters. These equate to "Carrage Return", "Line Feed". The final line is x'0D' x'0A' x'1A'.
You might try the now undocumented "CONTINUE" option of the WRITE command WRITE .varname CONTINUE This would suppress the "carrage return" "line feed". You could then do WRITE .CR CONTINUE or WRITE .LF CONTINUE after doing each of your original line writes. Assume SET VAR CR TEXT = (CHAR(13)) for Carrage return or SET VAR LF = (CHAR(10)). See www.rsyntax.com for V6.5++ WRITE command. Jim Bentley American Celiac Society [email protected] tel: 1-504-737-3293 ----- Original Message ---- From: Gunnar Ekblad <[email protected]> To: RBASE-L Mailing List <[email protected]> Sent: Thursday, January 8, 2009 9:38:55 AM Subject: [RBASE-L] - Re: Line Feed or Carrige return Thanks Razzak I will try that, that might be a new approach and maybe also Mark was on the right track after all. Just curios what is the default end of character. Gunnar Ekblad Kontema IT AB Hästholmsvägen 32 131 30 Nacka Sweden -----Ursprungligt meddelande----- Från: [email protected] [mailto:[email protected]] För A. Razzak Memon Skickat: den 8 januari 2009 16:27 Till: RBASE-L Mailing List Ämne: [RBASE-L] - Re: Line Feed or Carrige return At 10:07 AM 1/8/2009, Gunnar Ekblad wrote: >I need to find out if the write statement adds a linefeed or a carriage >return. Gunnar, To exclude the default end of character, try the following technique and see what you get: Example: SET WIDTH 700 SET LINES 0 SET EOFCHAR OFF OUTPUT myfile.txt -- do what you have to do here ... OUTPUT SCREEN SET EOFCHAR ON SET LINES 19 SET WIDTH 79 RETURN Hope that helps! Very Best R:egards, Razzak.

