KMoody
Member
Is it possible to use optional parameters in OpenEdge 10.2.b? For example:
I know that 10.2.b has function overloading, but if the difference between the two function versions is slight, this could involve a lot of repetition.
Code:
METHOD PUBLIC VOID createAllLog(INPUT isConcat INITIAL TRUE):
IF isConcat THEN DO:
.....
END.
END METHOD.
.....
/*call the function within the class:*/createAllLog().
createAllLog(FALSE).
I know that 10.2.b has function overloading, but if the difference between the two function versions is slight, this could involve a lot of repetition.