How to print in base 2 a sequence of number
From: Alfonso Esteban Gonzalez Sencion (sencion_at_alcatel.es)
Date: 04/26/04
- Next message: Jean-Luc Fontaine: "ANNOUNCE: moodss-18.1 and moomps 3.1"
- Previous message: Andreas Otto: "Re: unicode (test env-4.3) problem"
- Next in thread: Victor Wagner: "Re: How to print in base 2 a sequence of number"
- Reply: Victor Wagner: "Re: How to print in base 2 a sequence of number"
- Reply: Glenn Jackman: "Re: How to print in base 2 a sequence of number"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Apr 2004 17:29:33 +0200
Hello all
How can I print a decimal string in binary using tcl
For example I would like to sprint the string
"123 120 12 45 68 123 123 456"
Into binary. Each number is an 8 bit unsigned value. That is
"01111011 01111000 00001100 00101101 01000100"
Thanks in advance
- Next message: Jean-Luc Fontaine: "ANNOUNCE: moodss-18.1 and moomps 3.1"
- Previous message: Andreas Otto: "Re: unicode (test env-4.3) problem"
- Next in thread: Victor Wagner: "Re: How to print in base 2 a sequence of number"
- Reply: Victor Wagner: "Re: How to print in base 2 a sequence of number"
- Reply: Glenn Jackman: "Re: How to print in base 2 a sequence of number"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]