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