lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Andreas Matthias wrote:

> Jay Mithani wrote:
>> Using 'self' over 'Display' when defining the functions for the Display class should fix
>> your issue.
> Oh, you are right. I didn't expected this. I though `self' would make it
> an instance variable. Now I have to rephrase my question: Why is
> `self.count' a class variable in the following example while `self.text'
> is a member variable?