TIP: Click on subject to list as thread! ANSI
echo: semware
to: All
from: Jim Wilson
date: 2003-02-27 03:15:54
subject: [TSEPro] Re: Line terminators

From: Jim Wilson 
@Date: Wed, 26 Feb 2003 11:45:54 -0500
@Sender: semware-owner{at}sawasdi.apana.org.au



At 10:30 AM 2/26/2003, you wrote:
>string GetCurrEOLType()
>     returns the end-of-line characters for the current file
>     as a string.

This has possibilities.

>How about in the already existing BufferFlags editor
>variable?  I've still got 20+ bits left, so I could create
>new flags to or in.

Actually, I think I like this one better.


>But what do I return if the file is a mixture, e.g., some
>lines end in CR, some in LF, and some in both?

Have you ever actually seen such a file? I don't think I've even heard of 
that. If it's DOS text then CR/LF, unix is LF and MAC is CR. What type of 
file mixes line terminators?

Regards,
Jim

--
TSEPro Mailing List
List Maintenance: www.semware.com/html/list.htm



---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonet
SEEN-BY: 633/267 270
@PATH: 800/846 1 640/954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.