[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Usage of BIND, REFERENCE-ONLY and BY-REFERENCE with ProDataSets & temp-tables

  • Thread starter Thread starter Tim Kuehn
  • Start date Start date
Status
Not open for further replies.
T

Tim Kuehn

Guest
Marian - By "permanently" I mean that the TT association between the caller and the callee extends past the duration of the call. That a static TT BIND can persist past the life of the source instance is - puzzling at the least, and dangerous at worst. The main use-case I have for BIND is the customer uses it in a procedural model. As such I don't have to worry about associations lasting past the duration of a procedure call. Beyond that I think it's intended for cases where multiple persistent procedures / classes are supposed to work together. I can see this for some situations - but I think the potential dangers of persistently binding like this outweigh any perceived benefits. Why table/dataset-handle parameters needs by-reference I have no idea, Because they behave the same as their static counterparts and can be passed to / from a static TT / dataset parameter.

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