Hello, when I run the following program, whose purpose is to generate a list of values which when added two by two, are equal to 10, :- lib(ic). solve(A1) :- Total = 10, length(A1, 3), A1 :: 0..10, A1 + A1 #= Total, labeling(A1). I get the following error message: "number expected in set_up_ic_con(7, 1, -1 * 10…" What am I doing wrong? Best regards, PhilippeReceived on Thu Dec 04 2014 - 20:03:36 CET
This archive was generated by hypermail 2.2.0 : Fri Dec 05 2014 - 15:13:14 CET