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)
commite68205abcae7f231dd47d201507b33330f1406aa (patch)
treebf2411134ee75eaca7a6f6e23d8a2eec283767ab
parentafa85ef95663381ca1f391d3e2f025efe5983147 (diff)
downloadtcl-e68205abcae7f231dd47d201507b33330f1406aa.zip
tcl-e68205abcae7f231dd47d201507b33330f1406aa.tar.gz
tcl-e68205abcae7f231dd47d201507b33330f1406aa.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