[plt-scheme] Help on newline when writing to a file

From: Lian DanHui (linda.lian at gmail.com)
Date: Wed Jan 9 21:23:27 EST 2008

Sorry, my mistake. The error is caused by not opening file in Text Mode.

Thanks again for all your valuable information.

On 1/10/08, Lian DanHui <linda.lian at gmail.com> wrote:
>
> Thanks all for your clarification on the line break!
>
> Now I find why I cannot see the line break in txt file.
>
> In Windows XP, I use windows Notepad to open the txt file.  And I cannot
> see the line break.
> Then I use gvim or windows Wordpad to open the txt file. And I can see the
> line break.
>
> I guess that NotePad didn't explain the line break well.
>
>  On 1/9/08, Dave Gurnell <d.j.gurnell at gmail.com> wrote:
> >
> > >> Is there call for a platform specific line break escape here?
> > >
> > > I think that's best left to the port mode.
> >
> > Okay - I understand now. That makes a lot of sense.
> >
> > Cheers!
> >
> > -- Dave
> >
> > _________________________________________________
> > For list-related administrative tasks:
> > http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080110/b7e5a4b1/attachment.html>

Posted on the users mailing list.