Hi, I understood the count to an object instance would return its number of properties. But once an ancestor is properly set to an instance it seems to return the number of the ancestor's properties. Is it reasonable result? [Results in the message window] p1 = script("Parent1").new() put p1.count -- 0 p2 = script("Parent2").new() put p2.count -- 2 p3 = script("Parent3").new() put p3.count -- 2 p4 = script("parent4").new() put p4.count -- 1 --============== -- Parent scripts --============== -- Parent1 on new me return me end -- Parent2 property prop1, prop2 on new me return me end -- Parent3 property ancestor on new me ancestor = script("Parent2").new() return me end -- Parent4 property ancestor on new me return me end Regards, Fumio Nonaka Attain Corporation [EMAIL PROTECTED] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to