Apologies for this in advance, I'm not entirely sure myself what I'm try to ask, but here goes...
After 10 years coding in Progress I now find out that functions can return output parameters - something I never realised! Maybe it's because I've never seen a piece of code that uses functions...