[rules-users] (no subject)
Wolfgang Laun
wolfgang.laun at gmail.com
Fri Sep 4 07:43:45 EDT 2009
A returnValue restriction takes the form
<field> <relop> ( <expression> )
(homeHalfTimeScore + awayHalfTimeScore) > 0
=>
homeHalfTimeScore > ( - awayHalfTimeScore )
-W
On 9/4/09, Zevenbergen, Alex <azevenbergen at paddypower.com> wrote:
> Hi all,
>
>
>
> This rule clause fails to evaluate, I am obviously missing something
> fundamental - can somebody enlighten me?
>
>
>
>
>
> rule "1st half Over 0.5 goals"
>
> when
>
> resultInfo : SoccerResultInfo(clockStage > (
> CLOCK_STAGES.FIRST_HALF.getValue() ) , (homeHalfTimeScore +
> awayHalfTimeScore) > 0 )
>
> then
>
>
>
>
>
> and this is the error
>
>
>
> [ERR 103] Line 13:103 no viable alternative at input '+' in rule "1st
> half Over 0.5 goals"
>
>
>
> Thanks in advance
>
> Alex
>
>
> ________________________________________________________________________
> Privileged, confidential and/or copyright information may be contained in
> this communication. This e-mail and any files transmitted with it are
> confidential and intended solely for the use of the individual or entity to
> whom they are addressed. If you are not the intended addressee, you may not
> copy, forward, disclose or otherwise use this e-mail or any part of it in
> any way whatsoever. To do so is prohibited and may be unlawful. If you have
> received this email in error
> please notify the sender immediately.
>
> Paddy Power PLC may monitor the content of e-mail sent and received for the
> purpose of ensuring compliance with its policies and procedures.
>
> Paddy Power plc, Airton House, Airton Road, Tallaght, Dublin 24 Registered
> in Ireland: 16956
> ________________________________________________________________________
More information about the rules-users
mailing list