allow OUTPUT VOID when we don't care about a method / function / procedure OUTPUT parameter

  • Thread starter Thread starter dlauzon
  • Start date Start date
Status
Not open for further replies.
D

dlauzon

Guest
Currently, if there is an OUTPUT parameter that we don't care about (e.g. there might be five output parameters, but in a given context, you might just need one or two of those), we have to do something like this: PROCEDURE test: DEFINE OUTPUT PARAMETER piTestValue AS INTEGER NO-UNDO INITIAL 32. END. DEFINE VARIABLE iNotUsed AS INTEGER NO-UNDO. RUN test(OUTPUT iNotUsed). The enhancement / idea would be to allow not to define a variable for such a situation. It would look like this: RUN test(OUTPUT VOID).

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