[progress Communities] [progress Openedge Abl] Forum Post: Re: Private Overridable?

  • Thread starter Thread starter jquerijero
  • Start date Start date
Status
Not open for further replies.
J

jquerijero

Guest
It's a construct that allows a class to literally delegate a work outside the class implementation without passing an object. This avoids dependency. It's functionally similar to callback construct. Ex. Class A METHOD CHAR MyInfo() classB.AskAnotherClassInfo(NEW DELEGATE(MyInfo)) Class B DELEGATE SomeMethod() METHOD AskAnotherClassInfo(SomeMethod proxy) DO: var = proxy(). // will run class A's MyInfo END. Here, class B has no reference dependency on class A.

Continue reading...
 
Status
Not open for further replies.
Back
Top