Re: MLE newline
- Posted by Quality <quality at ANNEX.COM> Jan 01, 1999
- 469 views
I have to agree with Lucius, The sequence known as "CR/LF" (CarriageReturn/LineFeed) is just that... CR (&13) followed by LF (&10). I do know of a few DOS text applications that simply use &13 *without* &10. Where exactly are you getting files with the LF/CR sequence from ? -----Original Message----- From: Lucius Hilley III <lhilley at CDC.NET> To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU> Date: Friday, January 01, 1999 10:35 AM Subject: Re: MLE newline >Hello Michael, > I do believe that it has always been {13, 10} in DOS. >Unix style is just {10} and DOS/Windows has been {13, 10}. >You might want to try reading some of your text files in using binary >mode. >_________________________ > >Lucius L. Hilley III lhilley at cdc.net >http://www.cdc.net/~lhilley >http://www.dragonvet.com >_________________________ ><IMG SRC="http://www.cdc.net/~ceace/images/lu4.jpg"> > >On Fri, 1 Jan 1999 11:53:49 +-900, Michael Sabal <mjs at OSA.ATT.NE.JP> wrote: > >>Usually a newline character in DOS is ASCII 10 & ASCII 13; However in an MLE, Microsoft in all their wisdom decided to change it to ASCII 13 & ASCII 10. Don't ask me why they did this, but that's what you need. So to add it, say: >> >> mleText = mleText & "Hello, world." & 13 & 10 >> setText(mleBox, mleText) >> >>Hope this helps. >> >>Michael J. Sabal >>mjs at osa.att.ne.jp >>http://home.att.ne.jp/gold/mjs/index.html