Jens Rieks <[EMAIL PROTECTED]> wrote:

> Does this mean that the attributes are shared per class, but the values
> are different between the instances?

Exactly.

> Maybe I misinterpreted it because my
> english is bad, but I assumed that "the same set of attributes" means that
> the "keys" as well as the values are shared between all instances of that
> class.

Just the "keys" - the attrbiute names. Values are of course distinct in
each instantiation of the class, i.e. in each object. Each object has
it's own attribute array, which you can fill with PMCs.

BTW a minute ago, I've checked in named attribute access, which should
simplify attribute using a bit - if code isn't time critical.

s. t/pmc/objects.t

> jens

leo

Reply via email to