At 08:48 PM 9/29/2009, yu ping wrote:
I read a source file,found it writes "^M^J" to a output.
I don't know what is it's meaning,
after test,I think it should be a return char,
my question is, where can i find defination of this?

It's simply the byte sequence 0Dh, 0Ah (or 0x0d, 0x0a of C aficionados, "Carriage Return"-"Line Feed") which is the end-of-line sequence for CP/M,DOS/Windows since the early '70s, and in contrast to Unix/Linux, which uses only a 0Ah, while at least the older Mac OS was using only a 0Dh to mark the end of a line in a text file...

Ralf
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to