Evaluated proc cgetchar2 {f x y} { set line [lindex [split $f \n] $y]; set cum [rempty [split $line [^C]]]; set c 0; set ok ""; foreach chunk $cum { set info [cblock2map $chunk]; lappend debug $info; foreach letter [explode [last $info]] { if {$c == $x} {set ok $info; incr c} {incr c}}; }; . $ok }