🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17426

Re: Problems writing newlines to a file

#17426
From: Matt Butler
Date: Fri, 20 Nov 1998 00:00
25 lines
1470 bytes
Graham Lovell wrote in message <7311k7$qo74@forums.borland.com>...
>Dear Matt,
>
>I tried your code, so that we could learn how to write to a file, which I
>hadn't been able to do so far, and it worked OK, including the new lines.
>(Thanks for the help, albeit this was not your immediate objective.)

Hey, no problem! Nice to be able to help without doing a thing :)

>
>The new line came through OK as a newline, (extra newlines and text also
>worked OK) when read in both WordPad and in the Browser (I didn't bother to
>use an binary reader as it was working OK).
>
>Could this be a browser problem? I have had very variable results from
>different browsers. I used Internet Explorer 4.0 SP1, in testing this code.
>


 Actually, it now looks like it was only showing up wrong in Notepad, not
anyplace else I would view it, so maybe it's not a problem after all. Just a
little confusing though.

Matt
Technical Details
Message-ID: <734ng8$el34@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <72sc3h$14a13@forums.borland.com> <7311k7$qo74@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,1b6563995c977abb
X-Google-Attributes: gidf74b3,public
From: "Matt Butler" <butler@cyberramp.net>
Subject: Re: Problems writing newlines to a file
Date: 1998/11/20
Message-ID: <734ng8$el34@forums.borland.com>
X-Deja-AN: 413999992
References: <72sc3h$14a13@forums.borland.com> <7311k7$qo74@forums.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language