>>Fred,
>>
>>Yes, each object in memory has it's own space for it's current property values. I was pointing out in the first message that each class definition has it's version of each property in memory too.
>
>That's the way I read it from your message. Dragan seemed to be of a differing opinion, though.
I'm just guessing which properties does it reserve the space for: all of them, or just non-default. If it's all, it may be a waste of space; if it's just non-default, it requires lots of moving around when they change values. But then, maybe the truth is in the middle - a property of an object may have just a pointer to somewhere. It may point to a parent class's property or .null. if it has a default value, or to its own value if it has a proprietary value. We may well imagine that the memory space taken by one object is contiguous, but that may not be the case. Fox has always played mumbo-jumbo with memory, and we never cared because it worked. An object's memory block may be just an array of pointers, and the actual values of the properties may be anywhere.
Take a look at the example in my other message in this thread, I think I got something.