<p>Hi, First of all I&#39;m new to Tcl. &nbsp;I&#39;ve been reading around it for the past 10 days or so, and I like it very much. &nbsp;I saw there were lots of OO implementations on top of it, which is kind of mind-blowing when one is used to languages that have &#39;the-one-true-way&#39; to do OO.<br>
</p><p>In the languages I&#39;ve learned in the past quite often OO just seemed to get in the way. &nbsp;However, I&#39;ve finally got to the point in my programming development where I&#39;m feeling restricted by languages like Python and Java. &nbsp;Hence my delight at re-discovering Tcl for myself.</p>
<p>When I did a quick survey of the OO implementations in Tcl, I was immediately drawn to OTcl, and then disappointed to see it hadn&#39;t been enhanced over the last decade. &nbsp;Until I discovered XOTcl :-)&nbsp; &nbsp;This seems to me to be the most power OO system I&#39;ve looked at - as powerful as Smalltalk, only for me Tcl is a more amenable language.</p>
<p>I&#39;m using Artur&#39;s 0.83 image of XOTclIDE (which has XOTcl 1.6 bundled inside it). Of course, I&#39;m really enjoying Artur&#39;s IDE. &nbsp;I finally feel like I&#39;ve got the right combination of language and toolset to extend my programming ability. &nbsp;I am so grateful that XOTcl and the IDE have been made publicly available.</p>
<p>However, following the main XOTcl tutorial (<a href="http://media.wu-wien.ac.at/doc/tutorial.html">http://media.wu-wien.ac.at/doc/tutorial.html</a>) in the IDE, I&#39;ve got a problem. &nbsp;After running &#39;do it&#39; on each stage of the tutorial, when I get to this line:</p>
<p>set fb [bayernMunich newPlayer -name &quot;Franz Beckenbauer&quot; \<br>&nbsp;   -playerRole PLAYER]<br></p><p>I get an error. &nbsp;Here&#39;s the stack trace:</p><p>::bayernMunich::__#WZ: unable to dispatch method &#39;name&#39; during &#39;::bayernMunich::__#WZ name&#39;<br>
&nbsp;   ::bayernMunich::__#WZ ::xotcl::Object-&gt;configure<br>&nbsp;   ::Player ::xotcl::Class-&gt;create<br>&nbsp;   ::Player ::xotcl::Class-&gt;new<br>&nbsp;   invoked from within<br>&quot;Player new -childof ::bayernMunich -name {Franz Beckenbauer} -playerRole PLAYER&quot;<br>
&nbsp;   (&quot;eval&quot; body line 1)<br>&nbsp;   invoked from within<br>&quot;eval Player new -childof [self] $args&quot;<br>&nbsp;   (procedure &quot;newPlayer&quot; line 5)<br>&nbsp;   ::bayernMunich ::SoccerTeam-&gt;newPlayer<br>&nbsp;   invoked from within<br>
&quot;bayernMunich newPlayer -name &quot;Franz Beckenbauer&quot; \<br>&nbsp;   -playerRole PLAYER&quot;<br>&nbsp;   (in namespace eval &quot;::&quot; script line 1)<br>&nbsp;   invoked from within<br>&quot;namespace eval :: $string&quot;<br>
&nbsp;   (procedure &quot;evalString&quot; line 3)<br>&nbsp;   ::IDE::System-&gt;evalString<br>&nbsp;   invoked from within<br>&quot;IDE::System evalString $string&quot;<br>&nbsp;   (procedure &quot;evalString&quot; line 3)<br>&nbsp;   ::xotcl::__#HM::@editor ::IDE::Editor-&gt;evalString<br>
&nbsp;   invoked from within<br>&quot;my evalString $sel&quot;<br>&nbsp;   (procedure &quot;evalSelection&quot; line 5)<br>&nbsp;   ::xotcl::__#HM::@editor ::IDE::Editor-&gt;evalSelection<br>&nbsp;   invoked from within<br>&quot;::xotcl::__#HM::@editor evalSelection&quot;<br>
&nbsp;   invoked from within<br>&quot;.workspace1.#workspace1#mb.#workspace1#mb#menu8 invoke active&quot;<br>&nbsp;   (&quot;uplevel&quot; body line 1)<br>&nbsp;   invoked from within<br>&quot;uplevel #0 [list $w invoke active]&quot;<br>
&nbsp;   (procedure &quot;tk::MenuInvoke&quot; line 50)<br>&nbsp;   invoked from within<br>&quot;tk::MenuInvoke .workspace1.#workspace1#mb.#workspace1#mb#menu8 1&quot;<br>&nbsp;   (command bound to event)<br><br>I&#39;m not sure if this is because XOTcl has changed since the tutorial was written, or if it is because I&#39;m just running through the tutorial in the workspace. &nbsp;<br>
</p><p>Regards, Bernard</p><p><br></p>