# HG changeset patch # User sherrillmix # Date 1322106519 14400 # Node ID e0ad28e711966a98632cdd8a1c6935ccf3668425 # Parent d96929307215c4e54fca5c1e1c546b12f2649184 Replaced "18" in octal is equal to "18" in decimal with "17" in octal is equal to "15" in decimal diff -r d96929307215 -r e0ad28e71196 chapters/25.markdown --- a/chapters/25.markdown Wed Nov 16 20:50:32 2011 -0500 +++ b/chapters/25.markdown Wed Nov 23 23:48:39 2011 -0400 @@ -29,8 +29,8 @@ :echom 017 :echom 019 -Vim will print "15" for the first command, because "18" in octal is equal to -"18" in decimal. For the second command Vim treats it as a decimal number, even +Vim will print "15" for the first command, because "17" in octal is equal to +"15" in decimal. For the second command Vim treats it as a decimal number, even though it starts with a `0`, because it's not a valid octal number. Because Vim silently does the wrong thing in this case, I'd recommend avoiding