in reply to A Little History on 0D0A
in thread Cross platform file I/O code

0x0D (hex) is decimal 013 and 0x0A (hex) is decimal 010 .. or i'm wrong?

Replies are listed 'Best First'.
Re^2: A Little History on 0D0A
by psini (Deacon) on Jun 21, 2008 at 15:43 UTC

    0x0D is hexadecimal 0D which is decimal 13 which is octal 15 (or 015).

    Similarly, 0x0A is hexadecimal 0A which is decimal 10 which is octal 12 (or 012).

    I think you have been confused by the fact that in the post you were commenting, the hex and octal forms were used, not the decimal.

    BTW, did you know that this thread is 7 years old? :)

    Careful with that hash Eugene.

      They probably didn't know it was that old...
        This topic is still confusing me in 2016. Thanks for your explanation.
        Did you know it is even older than that now!