Fumio Nonaka wrote:
> 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?
Hi Fumio,
If you consider the 'count' command applied to an object is similar to
calling an object method, then you would think that the first object you are
addressing the 'count' command to would intercept it and not pass it on to
its ancestors - so in this regard, I guess its not a reasonable result.
As Kerry mentioned, the lingo dictionary says that it will not count the
properties of the ancestors... so I guess either the documentation is wrong,
or the count command isn't working properly.
Luke
--
Luke Wigley
Multimedia Director/Producer
Mecca Medialight Pty Ltd
Mecca Medialight: Medialight Sound Studio:
111 Moor Street 1 Bakehouse Lane
Fitzroy, Vic. 3065 North Fitzroy, Vic. 3068
Tel +613 9416 2033 Tel +613 9416 2033
Fax +613 9416 2055 Fax +613 9416 2055
www.medialight.com.au
__________________________________________________________________________
[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!]