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
|
Not Categorized, Please Help
|
|