Re: BUG: More on C-header text files - CORRECTION
Re: BUG: More on C-header text files - CORRECTION
- Subject: Re: BUG: More on C-header text files - CORRECTION
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 01 Jul 2002 13:50:12 -0700
On 7/1/02 1:34 PM, "Philip Aker" <email@hidden> wrote:
>
OK, at about this time, Gates is plundering Unix and decides
>
that instead of replacing the CRLF concept with a single
>
character, it will be re-interpreted so that a CR is used to
>
indicate line wrapping (i.e. a "soft" return) and that CRLF will
>
be a full return (i.e. a paragraph mark).
Word uses LF for newline (not new paragraph) and CR (not CRLF) for 'new
paragraph'. Nothing at all is used for softwrapping.
CRLF is used in DOS, and thus in Windows TEXT formats, but not in MS Word
documents. MS Word uses CR. (Word started on the Mac first, so that may
account or it.) So does VBA when representing text within a Word doc, but in
its own code, but CRLF when representing text in a Windows text file.
>
>
This had implications for the typesetting methods of the day
>
because for runtime situations, the CR could be used as a line
>
ending marker for screen representations (which makes for easier
>
redraw calculations) but didn't necessarily have to take up a
>
byte in the file when stored on disk. I haven't looked at M$Word
>
for many years but remember that I used a soft return for some
>
formatting purposes. For plain text files, I believe M$Word
>
reads/writes them in as per platform EOL convention but deals
>
with things internally with an approach somewhat similar to
>
what's been described above.
First part of your last sentence is correct, but second part is sort of
backwards.
Thanks for all the other info.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.