Mark, Thanks...that is exactly what the issue is. Much appreciated!
Warren On Sun, May 15, 2011 at 4:25 AM, Mark Schonewille <m.schonewi...@economy-x-talk.com> wrote: > Hi Warren, > > Are you trying to read the files on a windows machine? Probably you need to > replace cr with crlf before saving the data. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > On 15 mei 2011, at 07:26, Warren Kuhl wrote: > >> I have articles which I am saving. The user has the option of saving >> the files individually or in a zip file. When I save them >> individually, the articles seem to get saved with carriage returns so >> the paragraphs are separated. When I save into a zip file, the >> articles seem to be saved without carriage returns. >> >> Below is the code I am using to save either as individual files or in >> a zip file. tArticle is my variable with the article. I have added >> breakpoints to confirm the carriage returns. Any reason why they >> would be removed when adding to a zip file? >> >> if hilite of button "Zip File" Of card is true then >> put (tFileName & tArticleCount & ".txt") into tFile >> revZipAddItemWithData tZipFile, tFile, "tArticle" >> else >> put tArticle into URL ("File:" & tSaveFile & tArticleCount >> & ".txt") >> end if >> >> Thanks, >> Warren > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode