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

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?


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?

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?

Thanks again,
David

_______________________________________________
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