[progress Communities] [progress Openedge Abl] Forum Post: Re: Seriously???!!!??? Strange...

  • Thread starter Thread starter smat-consulting
  • Start date Start date
Status
Not open for further replies.
S

smat-consulting

Guest
I haven't done anything with the OOABL, so I am curious: If I have a class A that inherits from another class B, where B has a buffer scoped to the whole class: would that buffer be available in the inheriting class A automatically, or would it have to be defined again? Second option doesn't seem right to me. First option would make it impossible for a compiler to know whether a buffer is in scope and has a record or not. Thank you for your insights... PS: I hardly ever use anything scoped to the whole file, but always pass everything explicitly into the procedure or function, explicitly stating whether it is an INPUT, INPUT-OUTPUT, or OUTPUT parameter. That way it is clear what change is going to make it outside of that thing, and what not. That seems to be even more important with OOABL. Is that so?

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