Harold Hallikainen wrote: > I've done close to nothing with OOP, but find it interesting. I'm > wondering what the structure of an object is, as generated by the > compiler. I'm thinking that it starts with a structure that has public > variables and pointers to public functions. You'd call the functions by > following these pointers. When a new object is defined based on an > existing one, this structure is copied, inheriting the pointers to the > old object's functions. Then new functions can be defined in the new > object and the pointers in the new object are overwritten with pointers > to the new functions. There is no need to store pointers at run time if the methods are known and fixed at compile time. ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist