Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.