I have the following query:
?- Remainder :: 0..8, Qoutient #:: 0..Dividened,
Dividened #= Qoutient * 9 + Remainder, Dividened = 12.
As you can see I have an integer suspension Qoutient #:: 0..Dividened
, and try to clear the value of the Dividend
at the end. However, I get the following error:
instantiation fault in Qoutient #:: 0 .. Dividened
So how can I solve the problem in Eclipse CLP?