summaryrefslogtreecommitdiffstats
path: root/doc/scan.n
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2016-10-09 10:35:24 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2016-10-09 10:35:24 (GMT)
commit58165211fc0567001df02564b1b06e64f66c5ab1 (patch)
tree9b8a788571010411ead995c174c9aeab263146f8 /doc/scan.n
parenta7131865bb4c7ce7b433a6a4070b08078cdc3283 (diff)
downloadtcl-58165211fc0567001df02564b1b06e64f66c5ab1.zip
tcl-58165211fc0567001df02564b1b06e64f66c5ab1.tar.gz
tcl-58165211fc0567001df02564b1b06e64f66c5ab1.tar.bz2
Be more accurate about scan's %i
Diffstat (limited to 'doc/scan.n')
-rw-r--r--doc/scan.n4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/scan.n b/doc/scan.n
index d963d6c..0c24fea 100644
--- a/doc/scan.n
+++ b/doc/scan.n
@@ -123,9 +123,7 @@ with conversion character \fBu\fR.
.TP
\fBi\fR
.
-The input substring must be an integer. The base (i.e. decimal, binary,
-octal, or hexadecimal) is determined in the same fashion as described in
-\fBexpr\fR. The integer value is stored in the variable,
+The input substring must be an integer. The base (i.e. decimal, octal, or hexadecimal) is determined by the C convention (leading 0 for octal; prefix 0x for hexadecimal). The integer value is stored in the variable,
truncated as required by the size modifier value.
.TP
\fBc\fR