[progress Communities] [progress Openedge Abl] Forum Post: Just Read The Following In...

  • Thread starter Thread starter Lieven De Foor
  • Start date Start date
Status
Not open for further replies.
L

Lieven De Foor

Guest
... and it's not making me happy... Invoking a method with INPUT-OUTPUT parameter without specifying INPUT-OUTPUT at the caller side compiles and runs. I can't believe such a *feature* got introduced. The compiler should simply refuse this instead of adjusting the call mode. Now you can get unexpected results because the caller side variable changes value although no INPUT-OUTPUT is specified (yet the compiler silently adds it). Is there any way to turn off this behaviour? http://knowledgebase.progress.com/articles/Article/Invoking-Method-with-INPUT-OUTPUT-parameter-without-using-INPUT-OUTPUT-compiles-and-runs?popup=true

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