[progress Communities] [progress Openedge Abl] Forum Post: Re: Calling A Method In A Class...

  • Thread starter Thread starter Thomas Mercer-Hursh
  • Start date Start date
Status
Not open for further replies.
T

Thomas Mercer-Hursh

Guest
Obviously, there is SomeStuff missing, but one of the questions was the scope of oB, which I don't see defined anywhere. Personally, I avoid doing things in constructors that could possibly fail, e.g., newing another class. If the constructor fails, you are left with an undefined reference. You might try moving such things to an Initialize method, both for this reason and because it might making it more clear. Is somestuff a temp-table or DB table or what? What is it's scope? (I encapsulate TTs within a class).

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