> -----Original Message-----
> From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 11:50 AM
> To: [EMAIL PROTECTED]
> Subject: May be off topic
> 
> 
> Hi all,
> 
> I try to print the \n character as \015\012 

Actually "\n" is just "\012". "\015\012" are "\r\n".

> but I don't know why it works and why \013\010 doesn't work.

Because the "\012" is interpreted as a sequence of octal digits
(base 8), so 012 is 1*8 + 2 = 8 + 2 = 10 decimal

> 
> Isn't CR character ascii 13 and LF character ascii 10?

Yes.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to