New topic: 

Why does my text file have line breaks?

<http://forums.realsoftware.com/viewtopic.php?t=29354>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       seaaggie           Post subject: Why does my text file have line 
breaks?Posted: Sun Aug 02, 2009 9:37 pm                        
Joined: Wed Jul 29, 2009 10:56 pm
Posts: 6              Hi there,

Do you know why a file written like this would have line breaks? SessionID is a 
single line of about 300 characters, and I'd prefer to have it saved without 
line breaks.
Code:Dim filestream As TextOutputStream
Dim filename As new FolderItem
Dim encrypted as string
filename = new folderitem("preferences.text")
fileStream=filename.CreateTextFile
encrypted = EncodeBase64(SessionID)
filestream.WriteLine ConvertEncoding(encrypted, Encodings.UTF8)
fileStream.Close


Thanks in advance

 Sally   
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to