Ed Leafe wrote:
On Sep 9, 2005, at 6:25 AM, Adi J. Sieker wrote:

My understanding, is that a single underscore is equivalent to the protected keyword of C++, class methods and sub class methods are allowed access. Two underscores is equivalent to the private
keyword, which means only class methods are allowed access.


That is my understanding, too. So if the method needs to be called from classes outside of dForm, it should be 'registerObject()' and not '_registerObject()'.

Think of it how it pertains to Dabo: do you want our users, when perusing the Dabo documentation, to see the registerObject() function, when it really doesn't pertain to anything they need to do and is outside of the intended API? If you want users calling registerObject() directly, then it should not have an underscore. Otherwise, it should.

--
Paul McNett
http://paulmcnett.com
http://dabodev.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to