On 2017-05-03, at 14:25, Alan Altmark wrote:

>> But, I can't provide an "OMITTED" final argument, no matter how
>> many commas or blank lines I supply.
> 
> If you mean that REXX doesn't distinguish between a null string and an 
> omitted string, that's true.  My programs all use the null string in an 
> argument to indicate omission, since that what you get with the ", ," 
> idiom.  So my program can decide it wants the "default" behavior at 
> runtime without having to have two different CALLs or function 
> invocations.
>  
No, except for the final argument the ARG( n, 'EXISTS' ) and arg( n, 'OMITTED' )
functions do distinguish between a null string and an omitted string.
Look at the output of the example I supplied.

> I like it that way.  :-)
> 
> Alan Altmark

-- gil

Reply via email to