"\n" is a single byte, so if you want CRLF pair, use "\r\n".


"David Vediner" <[EMAIL PROTECTED]> wrote in message
news:48894@palm-dev-forum...

Write "\n" or use "\x0d\x0a", which is a CRLF pair (I might have that
backwards), using DmWrite().  I don't know exactly what "\n" maps to
(one or two bytes) on the Palm, but with a little experimentation and a
debugger displaying memory, it should be trivial to find out.


-----Original Message-----
From: David Walls/Lemc [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 11:40 AM
To: Palm Developer Forum
Subject: Is this possible?


I need to insert a carriage return and a linefeed inside a record.  Has
anyone ever done this before?  I am using DmWrite(), and all I need to
write is a carriage return linefeed.

David Walls


--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to