France,
Toulouse,
Sunday, May, 7th, 2006,
3:55 pm.
Hi,
Another solution is not to mention the name of the class:
Shared Private Sub Increment( )
theNumberOfInstances = theNumberOfInstances + 1
End Sub
But I believe that writing "Me" and "Class" make the code more reliable,
readable, less confusing (is it the method of the super class or the
property of the subclass ?) and it's a good habit in my opinion.
And after all, if "Me" exists, why not "Class" ?
Have a very nice day,
Nils
----
Nils Frisch
http://www.nils-frisch.com/
Toulouse,
France.
_______________________________________________
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>