On Feb 07, 2007, at 9:47 PM, David Johnson wrote:

Well, I will ask these and hope for an answer before this list shuts down. :-)

Subscribe to the NUG as REAL has recanted and will NOT be shutting that list down
Subscription pages should be back up tomorrow

1. When I create a text file ("text/plain") using textOutputStream1.WriteLine and then read it back, the EndOfLine characters are detected correctly. But when I create a text file with a word processor (like TextEdit) the carriage returns are *not* detected as EndOfLine characters.
For example:

newarray = split(fileString, EndOfLine)
newarray = split(fileString, chr(13) )

Neither of these parse a text processor string into lines.

Is there something I can do to a string that will allow the CRs to be seen as EndOfLine?

TextEdit uses Unix line ending which amounts to chr(10)

2. When a user of my appllication saves a document, almost all of the data is text. But the user may have added one (or more) pictures to the document. How do I save the picture with the text and recover it when he opens the document later?

If they are saving documents from TextEdit with pictures you'll be dealing with RTFD documents

RB5.5 pro, OSX 10.3.9

Thanks.

As far as the new list is concerned, will the RB regulars (Joe Stout, Geoff Perlmann, et. al.) be answering questions on the new list, or will they be confined to monitoring the forum?

Probably back to monitoring the old NUG list (see above)
_______________________________________________
Unsubscribe:
<[EMAIL PROTECTED]>

REAL Software has decided to consolidate this mailing list with the online Forums.  
On Monday, February 12, 2007, this mailing list will no longer be active.  We 
encourage you to continue your REALbasic and REAL SQL Server discussions on the 
Forums.  If you are not presently a member of the forum, please sign up today at 
<http://forums.realsoftware.com>.

Reply via email to