On Fri, Sep 30, 2005 at 06:55:38PM +0800, ?X?? wrote:
Hello, I know there is a keyword called static in Pike class, but it means much more like friend in C++ language.
actually it does something like protected in c++.
I am woundering if there is static variable in class just like the C++ Language, that there is only one copy in memory, and can be access in all obeject from the same class?
there isn't. the idea has been discussed and has not been rejected but nothing has been implemented yet. contributions to implement this would be welcome.
greetings, martin.