Forum Discussion
Altera_Forum
Honored Contributor
14 years agoTCL issue request
I have a question about TCL. I want to operate a TXT file using tcl, and save this file to a pure binary data file. The binary file and TXT files are shown as attached files (1.jpg is binary, another is txt file type file).
It seems as file translation in TCL. Any suggestions will be appreciated.1 Reply
- Altera_Forum
Honored Contributor
You can have a look at the tcl open (http://www.tcl.tk/man/tcl8.4/tclcmd/open.htm) and read/gets/puts commands. It can be used to read/write text but I'm not so sure about binary data. You should try and ask a TCL or TCL/Tk forum.