ASCII art diagram converter: Difference between revisions

bug discovered in Tcl
(Tcl implementation added)
(bug discovered in Tcl)
Line 595:
 
=={{header|Tcl}}==
{{improve|Tcl|This example is *incorrect*. It relies on an assumption that sequential bitfields in the same byte can be parsed by the [binary] command, which is not the case. The test "appears" correct because encode and decode suffer the same bug and hence round-trip works.
 
A wrapper which doesn't disturb the below code too much is in progress.}}
 
This is a nice task to illustrate a couple of important concepts in Tcl:
Anonymous user