c40a55cd4ae4
Merge.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Sat, 31 Dec 2011 13:26:36 -0500 |
parents | 4ba338c385b3 (current diff) e0ad28e71196 (diff) |
children | 8d53ee8e7454 |
branches/tags | (none) |
files | chapters/25.markdown |
Changes
--- a/chapters/25.markdown Sat Dec 31 13:26:29 2011 -0500 +++ b/chapters/25.markdown Sat Dec 31 13:26:36 2011 -0500 @@ -33,8 +33,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