summaryrefslogtreecommitdiffstats
path: root/doc/binary.n
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-17 16:35:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-17 16:35:51 (GMT)
commit27c27e941a08c8ea873a5de4333a498788a22c33 (patch)
tree27485d4f1bbb8509ad6e0ade9f8402cc056bcb44 /doc/binary.n
parent07cfb2190f1ec3f06fb59425ad6fc3b5edd5dcff (diff)
parent50eee151a907e29a58d8201f66988816ae14eae5 (diff)
downloadtcl-27c27e941a08c8ea873a5de4333a498788a22c33.zip
tcl-27c27e941a08c8ea873a5de4333a498788a22c33.tar.gz
tcl-27c27e941a08c8ea873a5de4333a498788a22c33.tar.bz2
Merge 8.5. Mainly add Unicode 13 new plane 3 characters to the internal Unicode tables. Not used in 8.6 yet.
Diffstat (limited to 'doc/binary.n')
-rw-r--r--doc/binary.n6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/binary.n b/doc/binary.n
index 5f25d65..261b765 100644
--- a/doc/binary.n
+++ b/doc/binary.n
@@ -653,7 +653,7 @@ stored in \fIvar2\fR. Note that the integers returned are signed, but
they can be converted to unsigned 8-bit quantities using an expression
like:
.CS
-set num [expr { $num & 0xff }]
+set num [expr { $num & 0xFF }]
.CE
.RE
.IP \fBs\fR 5
@@ -672,7 +672,7 @@ stored in \fIvar2\fR. Note that the integers returned are signed, but
they can be converted to unsigned 16-bit quantities using an expression
like:
.CS
-set num [expr { $num & 0xffff }]
+set num [expr { $num & 0xFFFF }]
.CE
.RE
.IP \fBS\fR 5
@@ -709,7 +709,7 @@ stored in \fIvar2\fR. Note that the integers returned are signed, but
they can be converted to unsigned 32-bit quantities using an expression
like:
.CS
-set num [expr { $num & 0xffffffff }]
+set num [expr { $num & 0xFFFFFFFF }]
.CE
.RE
.IP \fBI\fR 5