:lol: Yeah, good point!Originally Posted by pstudio
For all I know, a static field is a class field whose value is shared between all class instances. F.x.:Originally Posted by JSoftware
And now, all three class instances (a, b, c) have the same value for i.Code:class X { public: static int i; }; X a, b, c; a::i = 10;
Is it possible in Delphi?
Bookmarks