[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: How to oo this?

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

jmls

Guest
if the classes are the same (and it looks like they are) then you should new myclass with constructor data to populate the values rather than having 3 instances def var oMyClass as myClass no-undo. if something then oMyClass = new myClass(somethingdata) else if somethingelse then oMyClass = new myClass(somethingelsedata) etc run myStandardProcedure. myStandardprocedure: if valid-class(oMyClass) then do: use oMyClass for stuff end.

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