Hi... a have this code: go2(List_A, List_B, C) :- List_B :: 0..1, C #= List_A * List_B. When I do: ?- go2([[1, 5], [1, 5]], [[0, 1], [0, 1]], C). C = 10 Yes (0.00s cpu) It's ok When I do: ?- go2([[1, 5], [1, 5]], [[0, 1], [0, 1]], 10). Yes (0.00s cpu) It's ok but, when i do ?- go2([[1, 5], [1, 5]], C, 10). Abort undefined arithmetic expression in _562 is [[1, 5], [1, 5]] in module eclipse don't work. Sameone help me? IsmaelReceived on Sun Nov 15 2009 - 18:56:00 CET
This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET