diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-09 12:49:41 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-09 12:49:41 (GMT) |
commit | 4f3c0fa94fcc4ce830c4765499a42261934c48e7 (patch) | |
tree | 57c7b12ae94e928d50c4020a961b23e9ac0cfed2 /doc/binary.n | |
parent | 36d1b8447caf0aba9a4adf65b13029f35f89c0d9 (diff) | |
download | tcl-4f3c0fa94fcc4ce830c4765499a42261934c48e7.zip tcl-4f3c0fa94fcc4ce830c4765499a42261934c48e7.tar.gz tcl-4f3c0fa94fcc4ce830c4765499a42261934c48e7.tar.bz2 |
Use more uppercase hex (e.g. 0xFF) in stead of lowercase (0xff) consistantly.
Diffstat (limited to 'doc/binary.n')
-rw-r--r-- | doc/binary.n | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/binary.n b/doc/binary.n index ff800f0..5f1efaf 100644 --- a/doc/binary.n +++ b/doc/binary.n @@ -561,7 +561,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 @@ -580,7 +580,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 @@ -619,7 +619,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 |