Does Progress allow optional parameters in method or function? Can I do something like this in any way?
Like this:
function test return logical (input x as int, input y as int ):
return true.
end function.
test(1, 2).
test(1,).
test(,)
If use the OO parts of Openedge you can overload methods.
Progress does not allow structures like that. With OO you can use signature polymorphism to implement different method signatures, or you could just pass ? for the parameter you don't care about and test for that in the function.