On 04/07/2012 15:54, Wolfgang Laun wrote:
On 4 July 2012 16:15, Mark Proctor <mproctor(a)codehaus.org
Btw I'm not sure what you mean by "alternatives" here, I suspect that
will confuse others too:
The 'case' phrases are not alternatives, but 'break' is available to
terminate the switch CE after a match
I was trying to say that 'switch' doesn't select at most one of its
unless you use 'break'. Matching more than one 'case' is possible,
in multiple activations, similar to 'or'.
Agreed maybe "match"
would be a better word. It is in the spirit of
pattern matching in erlang and scala.
rules-dev mailing list