However, I want to circle back around to the discussion of the
short-circuited AND. We can't eliminate the usage on IF/WHEN, etc., but on
the other hand, there are certainly contexts where an and operator that uses
short-circuit logic might be useful. One could argue that an OR version
could also be useful. I don't believe this is possible for XOR, since the
result always depends on both values. Are there any operator combinations
that would make sense? Doubling up obviously doesn't work because && and ||
are already operators.
Another thought: perhaps
,& and ,|
are the bail-out AND and OR,
and in IF and WHEN context ',' expression separator "implies" the OR (|).
So:
If a=b ,| c=d then ...
would be identical to:
if a=b, c=d then ...
Mike
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel