Overview
| Artifact ID: | 60a4d9286332443c70c14253654097b8013a2de3 |
|---|---|
| Ticket: | 1663473fffffffffffffffffffffffffffffffff
binary scan seems to be losing bits |
| User & Date: | hobbs on 2007-02-20 06:59:23 |
Changes
- closedate changed to: "2007-02-19T23:59:23"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 Originator: NO Using tkcon: (Tcl) 51 % binary scan \x07\x87\x05 b5b* var1 var2 2 (Tcl) 52 % binary scan \x07\x87\x05 b* var3 1 (Tcl) 53 % dump var var* set ::var1 11100 set ::var2 1110000110100000 set ::var3 111000001110000110100000 You see that the missing 000 would be the first part of var2 - IOW, extraneous bits. I don't see a bug here. The values are correct, it is just that Tcl does format with all the preceding 0s.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "hobbs"