05/01/2009, 18:14
djkenny a écrit :tcl
set text [split $arg] # a remplacer par: set text [string map {"\\" "\\\\" "\{" "\\\{" "\}" "\\\}" "\[" "\\\[" "\]" "\\\]" "\"" "\\\""} $arg]
qui a pour effet de déboguer les "{ [ " ] }"
édit: a parement le forum n aime pas mon code
set text [string map {"\\" "\\\\" "\{" "\\\{" "\}" "\\\}" "\[" "\\\[" "\]" "\\\]" "\"" "\\\""} $arg]
Tu dis un peu n'importe quoi la c'est dommage
http://xineos.free.fr/listes_tcl.html