Hi,
I'm new in tcl programming and I'm trying to understand the binary command!
For a test I want to see the conversion from this value : ex. 300c020 but how could I see th result in binary?
Thanks in advance
I'm new in tcl programming and I'm trying to understand the binary command!
For a test I want to see the conversion from this value : ex. 300c020 but how could I see th result in binary?
Code:
set var "300c020
set binar [ binary format "H*" $var ]
puts "result : $binar"
Thanks in advance