[progress Communities] [progress Openedge Abl] Forum Post: Re: [4.2] - Including A Function...

  • Thread starter Thread starter Thierry Ciot
  • Start date Start date
Status
Not open for further replies.
T

Thierry Ciot

Guest
Wrapping into a function is not necessary. The key thing is that the last statement will be used as return value - but as I mentioned above, you do not need to finish your code with a return statement (I know it feels a bit weird when you look at the code) but do not use return statement. The output of a function call or the evaluation of a variable will be enough. Another way to put it is write your code as if there was an invisible return statement. Thierry

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