-------------- Original message -------------- From: [EMAIL PROTECTED]
> On Jan 10, 2007, at 01:23 UTC, Malcolm Smith wrote: > > > Well it appears that a static variable is shared across all instances > > (based on some simple test code). > > That's right. A static variable is exactly like a global variable, > except that it can only be accessed within the method where it's > defined. I don't know what you would call it ( Instance Static?) but having variable that are unique to an instance but visible only to that method would be very useful IMO. If it is only needed within the a single method for an instance it just clutters up the property list, and having it acessable within other methods for that instance just makes bugs more likely. - Karen _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
