Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
08:07 • Ticket [219875ffff] Bug in bynary format comand status still Closed with 3 o... artifact: a94f8afd52 user: dgp
2000-11-02
05:21 • Closed ticket [219875ffff]. artifact: 2729f7e37c user: hobbs
2000-10-31
15:29 • New ticket [219875ffff]. artifact: 418c537f2a user: nobody

Bug in bynary format comand

Closed / Invalid219875ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-31 15:29:55
Under Win98:

set i 32768
set w [open "c:\\test.dat" w]
puts $w [binary format s $i]
close $w

Result in file is wrong!

My mail address is [email protected]
hobbsplain2000-11-02 05:21:16
You don't specify what you expect the result to be, but it's likely incorrect due to the lack of 'fconfigure $w -translation binary' on the output fid.
dgp Ticket [219875ffff]: 3 changes [History diff]2001-04-05 08:07:01
Log in (anonymous is fine) to add a comment.