<p>My TCL notes file:</p><p>{} => ""<br />[] => ``<br />set x y => x = y<br />[expr {…}] => "act like a programming language"<br />[eval {…}] => {act like ""}<br />$ and [] work within "" but not {}<br />eq ne in ni<br />einter => coerce<br />proc parameter named "args" is variadic if last<br />first $ in $$a does nothing<br />format => sprintf<br />lsearch and regexp are different<br />for {} {} {} => for(;;)<br />[subst $$a] => dereference $a<br />[string is …] => typecheck<br />strings are not strings</p><p>Before running:<br />sudo apt install rlwrap <br />alias tclrl='rlwrap tclsh'</p>