[plt-scheme] How can I make ~% output automatcially either #\return#\newline or simply #\newline

From: John W. Small (jsmall at atlantech.net)
Date: Tue Jul 8 15:58:12 EDT 2003

I want to write something like

        fprintf output "assdfs   ~%" ...)

and have the line termination character sequence automatically
adjust to carriage return line feed on Windows platforms and just
line feed on unix platforms.

I'm compiling on Windows with mzc  and it is only outputting
a line feed character.

Thanks in advance.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20030708/e0f4957f/attachment.html>

Posted on the users mailing list.