Re: [Activetcl] storing number in hex in file
by Jeff Hobbs other posts by this author
Dec 6 2007 10:58AM messages near this date
view in the new Beta List Site
[Activetcl] storing number in hex in file
|
[Activetcl] sending emails from window tcl
Gene Osteen wrote:
> If I have the number 157 and I want to write it to a file as
> hex 9D, how do I convert it and write it to a file. The translation and
> encoding of the file has been set to binary.
Do you want the binary hex, or just the char hex? For the former, use
[binary format], the latter just [format].
Jeff
_______________________________________________
ActiveTcl mailing list
ActiveTcl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Gene Osteen
Jeff Hobbs
|