[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Implementing a singelton

  • Thread starter Thread starter goo
  • Start date Start date
Status
Not open for further replies.
G

goo

Guest
Yes, and that is with use of instance…. So either you add a definition in each program you want to call depot, or you will have to use repository.content.Depot:instance:myMethod(). In my code, I uses that form, in example myLogging:instance:addLog(…..). I found by changing the singleton class to a static class, I know can write myLogging:addLog(…). Perfect Thanks

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