[164] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next next in chain last in chain last

Re: var accessors

daemon@ATHENA.MIT.EDU (Fri Mar 25 13:58:42 1994 )

Date: Fri, 25 Mar 1994 11:54:19 -0600 (MDT)
From: Lynxian Theologies <BRANDON@cc.usu.edu>
To: coldstuff@MIT.EDU

> So, if I wanted to set a varable on object_A, from code in object_B,
> I have to call code in object_A that does this, right?


> This is how encapsulation's suppose to work. What has me confused
> is where is the code that sets this var? is there a builtin to do
> it, or is it suppose to be a method?

You have a method do it, no builtins (that I know of) get parent defined
parameters, only parameters on that object.


(BTW, the Cold Dark is back up on recumbent.declab.usu.edu port 6666)