summaryrefslogtreecommitdiffstats
path: root/doc/scan.n
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-11-15 05:12:38 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-11-15 05:12:38 (GMT)
commit05b1764f74b5b1eb40ac16bdb0349de9f47587a5 (patch)
tree97c0791362b57f112ffa470f4333c5a9d920631e /doc/scan.n
parentbff7817ec08bd66d55833181a0ed4850561e3d94 (diff)
downloadtcl-05b1764f74b5b1eb40ac16bdb0349de9f47587a5.zip
tcl-05b1764f74b5b1eb40ac16bdb0349de9f47587a5.tar.gz
tcl-05b1764f74b5b1eb40ac16bdb0349de9f47587a5.tar.bz2
Octal death documentation impacts.
Diffstat (limited to 'doc/scan.n')
-rw-r--r--doc/scan.n6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/scan.n b/doc/scan.n
index cc5ed79..3cb0320 100644
--- a/doc/scan.n
+++ b/doc/scan.n
@@ -226,12 +226,10 @@ set string "#08D03F"
\fBscan\fR $string "#%2x%2x%2x" r g b
.CE
.PP
-Parse a \fIHH:MM\fR time string, noting that this avoids problems with
-octal numbers by forcing interpretation as decimals (if we did not
-care, we would use the \fB%i\fR conversion instead):
+Parse a \fIHH:MM\fR time string:
.PP
.CS
-set string "08:08" ;# *Not* octal!
+set string "08:08"
if {[\fBscan\fR $string "%d:%d" hours minutes] != 2} {
error "not a valid time string"
}