summaryrefslogtreecommitdiffstats
path: root/doc/scan.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-10-22 18:55:02 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-10-22 18:55:02 (GMT)
commit1c8937d85be2f327d881c29e203c46df34b9da08 (patch)
tree4a99121a110b0074997b0c840212381d383a00c1 /doc/scan.n
parent19365e8ffd408a387d99496423bd1d1ef04e492a (diff)
downloadtcl-1c8937d85be2f327d881c29e203c46df34b9da08.zip
tcl-1c8937d85be2f327d881c29e203c46df34b9da08.tar.gz
tcl-1c8937d85be2f327d881c29e203c46df34b9da08.tar.bz2
[3556215]: Made [scan] match [format] better in what it accepts as a format
string, by allowing uppercase %X, %E and %G.
Diffstat (limited to 'doc/scan.n')
-rw-r--r--doc/scan.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/scan.n b/doc/scan.n
index ca096da..4ee9a59 100644
--- a/doc/scan.n
+++ b/doc/scan.n
@@ -96,7 +96,7 @@ The input substring must be an octal integer. It is read in and the
integer value is stored in the variable,
truncated as required by the size modifier value.
.TP 10
-\fBx\fR
+\fBx\fR or \fBX\fR
The input substring must be a hexadecimal integer.
It is read in and the integer value is stored in the variable,
truncated as required by the size modifier value.
@@ -126,7 +126,7 @@ substring may be a white-space character.
The input substring consists of all the characters up to the next
white-space character; the characters are copied to the variable.
.TP 10
-\fBe\fR or \fBf\fR or \fBg\fR
+\fBe\fR or \fBf\fR or \fBg\fR or \fBE\fR or \fBG\fR
The input substring must be a floating-point number consisting
of an optional sign, a string of decimal digits possibly
containing a decimal point, and an optional exponent consisting