e0ad28e71196

Replaced
"18" in octal is equal to "18" in decimal
with
"17" in octal is equal to "15" in decimal
[view raw] [browse files]
author sherrillmix <git@sherrillmix.com>
date Wed, 23 Nov 2011 23:48:39 -0400
parents d96929307215
children c40a55cd4ae4
branches/tags (none)
files chapters/25.markdown

Changes

--- 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