Thanks Russ. That solved it! I DO have "assigns" but putting the equal sign makes it work. So thats what it took! Thanks again! Greg
> s it not the case that if you use the "Assigns" option for the > parameter, that your "set" line should have an "=" > > > Employees(k).set = New_Employee //sets the k_th employee to be > > the new one > > Russ > > On Jun 24, 2006, at 3:36 AM, [EMAIL PROTECTED] wrote: > > > I have a class, say EmployeeClass, with a method SET which sets > > one to be > > another. (In fact someone from this list suggested this scheme > > originally!) > > > > Employees(k).set New_Employee //sets the k_th employee to be > > the new one > > // note that Employees(k) is defined above and exists > > > > The set method for this class actually looks like > > (Parameter : Assigns C as EmployeeClass) > > name = c.name > > id = c.id > > etc > > > > And I have used this type of thing for two years or so succesfully. > > I put > > some code to do this in a new place, and it just won't compile at > > all. It > > highlights the "employees(k).set" part and says that no such method > > exists. But it > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
