WV>Herman Schonfeld wrote in a message to Neil Heller:
NH>static int CClassName::MethodName( int SomeVar )
HS> static means that the value assigned to it is only known
HS> with the current compile. It's basically the same as a
HS> const int blah = 12345678;
WV>This is incorrect.
WV>When static is used within a class declaration, it signals that the
WV>method or attribute is class global. This means that the attribute is
WV>shared between all instances of the class, and even exists when no
WV>instance is created. For methods its means that the method is not called
WV>on an instance, thus the method has no access to none static members,
WV>other than addressing them somehow over another instance.
thats nice
WV>mvg/wr
WV>
... Basic programmers never die. They just GOSUB without RETURN!
--- Ezycom V1.48g0 01fd016b
---------------
* Origin: Fox's Lair BBS Bris Aus +61-7-38033908 V34+ Node 2 (3:640/238)
|