Perl PACK

greenspun.com : LUSENET : Tool Command Language (Tcl) : One Thread

Does anyone know the proper way to imitate the PERL Pack command in TCL? Basicaly coverting strings to unsigned char bytes etc

-- Aaron (ajr@brandeis.edu), July 10, 2002

Answers

Reply to "Perl PACK"

The equivalent in Tcl would be [binary format] or [binary scan]. Take a look at http://wiki.tcl.tk/binary for starters or consult the man page.

-- Michael A. Cleverly (michael@cleverly.com), September 04, 2002.

Moderation questions? read the FAQ