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: Philip Aker <email@hidden>
- Date: Tue, 02 Jul 2002 01:05:29 -0700
On Monday, July 1, 2002, at 01:50 PM, Paul Berkowitz wrote:
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.
Dunno what it is doing these days (I delete all M$ applications
as soon as I detect their presence on my disks). I think the
last version of Word I had was either 5 or 5.1, but I wonder if
you are making the distinction between the file format and the
internal delimiters (as I mentioned below "runtime situations")
used?
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.
That's actually the real interesting part for me because even
though I've put a reasonable amount of work into Marco
Piovanelli's WASTE text engine (largely concerned with text
flow) one can do useful things with a text character grid. There
is the entity known as 'antiorp' (famous for getting kicked off
the Max list amongst other things) who warped email she received
into such a grid and then used it as data input for various
algorithms to produce music (Midi->MSP output I think).
Cheers,
Philip
p h i l i p @ v c n . b c . c a
h t t p : / / w w w . a k e r . c a /
_______________________________________________
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.