I'm in favor of this proposal. To follow our existing shortcut-style with commas (note that although almost all of our current comma-shortcuts are AND-style, we also have an OR-style comma-shortcut for a WHEN in a SELECT CASE) we might use and-comma (&,) and or-comma (|,) as operators.
On Fri, Sep 4, 2020 at 3:05 PM Rick McGuire <object.r...@gmail.com> wrote: > There's been a bit of a discussion about the short-cutting conditional > lists implemented by IF, WHEN, et al. I find that construct very useful, > but as the discussion on the list has revealed, it has its limitations. > > It would actually be fairly trivial to implement AND and OR operators that > can do short-cut evaluation. Of course, this is not possible for XOR, which > always requires both values. The real questions are 1) should it be done > and 2) what should the operator be. I've been tentatively using *& and *| > in my thinking about this, but there are certainly other possibilities. > > Rick > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel >
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel