summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2016-10-09 12:03:30 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2016-10-09 12:03:30 (GMT)
commitc8597887e46c5008dde3018890624c244081c398 (patch)
treebf2411134ee75eaca7a6f6e23d8a2eec283767ab
parent90813dfce80280ea5960181be4a1ad29de3e4c6f (diff)
downloadtcl-c8597887e46c5008dde3018890624c244081c398.zip
tcl-c8597887e46c5008dde3018890624c244081c398.tar.gz
tcl-c8597887e46c5008dde3018890624c244081c398.tar.bz2
Be more accurate about scan's %i
-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