Article View: borland.public.jbuilder.java.language
Article #8196Re: I/O in text file!
From: Owen Green
Date: Wed, 11 Apr 2001 09:08
Date: Wed, 11 Apr 2001 09:08
16 lines
1447 bytes
1447 bytes
"Kotis" <kkot@aegean.gr> wrote in message news:3ad41b66_1@dnews... > Dear Sir/Madam, > > I am trying to write lines of text into a text file, but I cannot write into > a new line. I have used the escape character \r, in order to force a return > character, but it produces me a small black square and the cursor still > remains to the same line. I am using RandomAccessFile class! Try using "\n" for a line break, or if you're sure you want a full CRLF pair use "\r\n". Carriage return on its own won't work, afaik. hth Owen
Technical Details
Message-ID:
<3ad41f0d$3_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!fr.clara.net!heighliner.fr.clara.net!RENT.THIS.SPACE.FOR.ADVERTISING!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3ad41b66_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,46ce6028d204f886,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-04-11 02:21:39 PST From: "Owen Green" <owen@norobots.unique.com> Newsgroups: borland.public.jbuilder.java.language References: <3ad41b66_1@dnews> Subject: Re: I/O in text file! Date: Wed, 11 Apr 2001 10:08:24 +0100 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 213.86.7.136 Message-ID: <3ad41f0d$3_1@dnews> X-Trace: dnews 986980109 213.86.7.136 (11 Apr 2001 02:08:29 -0700) Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!fr.clara.net!heighliner.fr.clara.net!RENT.THIS.SPACE.FOR.ADVERTISING!newsfeed01.sul.t-online.de!t-online.de!dnews