At 23:36 2017-02-15, mbsoftwaresolutions@mbsoftwaresolutions.com wrote:
On 2017-02-14 17:29, Gene Wirchenko wrote:
At 01:54 2017-02-14, Dave Crozier DaveC@Flexipol.co.uk wrote:
Mike, It is extremely hands in certain circumstances and can save you loads of extra programming work. However like yourself I tend to forget about it (as opposed to never knowing about it!!) and only after the event do I realise I could have made life easier for myself!!
I might have used it the odd time, but dodefault() does it for me.
but this use of the Scope Resolution operator allowed me to jump 2 levels in the OOP hierarchy, Gene. DODEFAULT(x,y) would have ran the method 1 above, and that's not what I needed. Like I said, at first, it didn't seem very OOP to me, but revisiting it, I suppose it is.
It is not very OOP. I do not know enough about your case to judge whether I would do that, too, but I rather doubt it. It has the smell of a kludge, but sometimes, kludges are necessary.
Sincerely,
Gene Wirchenko