yes, it is my first, but i understand all of the classes, etc. I want to make an expandable cryptology system that will have other classes with certain methods to control the framework, or base class, its just fancy words
<br><br>
<div><span class="gmail_quote">On 1/2/08, <b class="gmail_sendername">Ralph Johnson</b> <<a href="mailto:johnson@cs.uiuc.edu">johnson@cs.uiuc.edu</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Jan 2, 2008 1:39 PM, David Zmick <<a href="mailto:dz0004455@gmail.com">dz0004455@gmail.com</a>> wrote:
<br>> i am working on a program with a framework, and modules that will plug into<br>> it, and i need to know how to send a class name around. for example: i have<br>> a method in one class, that servers as a module, that will "Procces
<br>> Commands" sent to the framework. I have another class that is suposed to<br>> manage the commands and getting them to the right place.<br>><br>> ManCommands-the command managing class<br>><br>> Framework-the framework that manages input/output
<br>><br>> BasicModule1-a module that will eventually be used to run other "modules"<br>><br>> how do i get the framework to tell ManCommands to send the command sent to<br>> the framework to the ProccessCommand method it BasicModule1>
<br><br>I've taught Smalltalk to a lot of people. Based on that experience, I<br>think you are heading in the wrong direction. You probably shouldn't<br>be talking about modules, but about classes. You shouldn't think
<br>about a module that runs other modules. Further, classes are objects,<br>so you usually don't pass names of classes around, but the classes<br>themselves.<br><br>Is this your first Smalltalk system?<br><br>-Ralph Johnson
<br><br></blockquote></div><br>