<div>they aren&#39;t smalltalk related.&nbsp; I&#39;m trying to develop a framework to develop cryptology programs on, and the framework needs to have and input and an output.&nbsp; I can&#39;t figure out how to pass a class name to different selectors.&nbsp; i need the framework to be able to load different modules, so i need to have some sort of variable called activeModule that will store the class name to pass things to.&nbsp; I need to be able to say something like
</div>
<div>&nbsp;</div>
<div>activeModule ManCommand: command.</div>
<div>&nbsp;</div>
<div>thanks,</div>
<div>dzmick</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">On 1/2/08, <b class="gmail_sendername">Leandro Caniglia</b> &lt;<a href="mailto:caniglia@dm.uba.ar">caniglia@dm.uba.ar</a>&gt; wrote:</span></div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Arial">Hi David.</span></font></p>
<p><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Arial">I'm not sure I understand your question. However, if your commands are Smalltalk selectors (method names), then you can send the message perform: using the command you want to execute as the argument. For instance, 
<br><br>ManCommands perform: command</span></font></p>
<p><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Arial">/Leandro</span></font></p>
<p><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<div>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">
squeak-dev-bounces@lists.squeakfoundation.org</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org
</a>] <b><span style="FONT-WEIGHT: bold">On Behalf Of </span></b>David Zmick<br><b><span style="FONT-WEIGHT: bold">Sent:</span></b> Wednesday, January 02, 2008 4:40 PM<br><b><span style="FONT-WEIGHT: bold">To:</span></b> 
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:squeak-dev@lists.squeakfoundation.org" target="_blank">squeak-dev@lists.squeakfoundation.org</a><br><b><span style="FONT-WEIGHT: bold">Subject:</span>
</b> my Framework</span></font></p></div>
<div><span class="e" id="q_1173c6ef9958c962_1">
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">i am working on a program with a framework, and modules that will plug into it, and i need to know how to send a class name around. for example: i have a method in one class, that servers as a module, that will &quot;Procces Commands&quot; sent to the framework. I have another class that is suposed to manage the commands and getting them to the right place. 
</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">ManCommands-the command managing class </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Framework-the framework that manages input/output </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">BasicModule1-a module that will eventually be used to run other &quot;modules&quot; </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">how do i get the framework to tell ManCommands to send the command sent to the framework to the ProccessCommand method it BasicModule1&gt;</span></font>
</p></span></div></div></div><br><br><br></blockquote></div><br>