[racket] Newline problem

From: jkaczorek at aol.pl (jkaczorek at aol.pl)
Date: Sat May 5 11:52:14 EDT 2012

  Savinga newline into a file doesn’t work (windows7 racket 5.2.1). I havetried it on several ways:
I have used (displayln port), (newline port) , fprintf with ~n and ~% -all without an accurate result.
It is interesting that the same code works right In another environment(racket 5.1.1 on linux).

Does using the "#:mode 'text" keyword argument to procedures like"open-output-file" solve the problem?

Neil V.

It does. Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120505/e997fb02/attachment.html>

Posted on the users mailing list.