Menu

#3357 Nested if triggers chained inequalities error

None
closed
nobody
None
5
2017-11-17
2017-11-17
No

e.g.
f(x) := if x < 0 then (if x < 1 then 1 else 2) else 3;
gives
You appear to have "chained inequalities" e.g. a<b<c. You need to connect individual inequalities with logical operations such as and or or.

Discussion

  • Stephen Parry

    Stephen Parry - 2017-11-17

    Sorry [posted to wrong bug list please delete

     
  • Raymond Toy

    Raymond Toy - 2017-11-17
    • status: open --> closed
     
  • Raymond Toy

    Raymond Toy - 2017-11-17

    Closing; invalid

     

Log in to post a comment.

MongoDB Logo MongoDB