[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Platform-specific newline in a string?

From: Dan Webb
Subject: [Chicken-users] Platform-specific newline in a string?
Date: Wed, 2 Feb 2005 15:11:30 -0800


Hello chicken users.  I just started using chicken a couple of weeks ago.
 So far it's been great!

Here's my problem:

When I format a string like this:

  (sprintf "~A~%" text)

and then write the string to a file, it writes only a line-feed character
to the file.  This is correct only on unix.  Is there any way to write a
platform-specific newline to the string?

Thank you!

Dan Webb

reply via email to

[Prev in Thread] Current Thread [Next in Thread]