Hello, I know there is a keyword called static in Pike class, but it
means much more
like friend in C++ language.
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?
For example,
class Test {
static int howManyObject;
};
I know I may used modules to archive this, but I only have one class,
it seems no need
to used modules.
So, is there something like C++ static class varible in Pike?