The problem was raised in TSO-REXX which I can no longer use.
My surprise was Regina's vs. ooRexx' response to condition(x)

>     Sahananda Sahananda <sahana...@gmail.com> hat am 24.01.2022 23:00 
> geschrieben:
> 
> 
>     Hi Walter
> 
>     I'm not sure I see what your problem is.  This is a good way of 
> validating dates and I have used it often in production.  Nowadays I use the 
> datetime class rather than the date BIF, but I found some code that used the 
> TIME BIF, that shows the principle.
> 
>     HTH Jon
> 
>     ::routine good_time public
>     use strict arg time, form = 'n'
> 
>     signal on syntax name bad_time
>        t = time('n',time,form)
>     signal off syntax
> 
>     RETURN .true
> 
>     bad_time:
>     signal off syntax
>     RETURN .false
> 
> 
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to