25/05/2009, 15:50
Ah oui, j'ai zappé un substring :)
Il faudrait donc convertir ta chaine en valeurs ascii non ?
Je ne vois pas tellement comment convertir 'toto' en hexa sinon.
Il faudrait donc convertir ta chaine en valeurs ascii non ?
tcl
proc asc { char } {
return [ scan $char "%c" ]
}
proc chr { num } {
return [ format "%c" $num ]
}
Je ne vois pas tellement comment convertir 'toto' en hexa sinon.