Re: call, ..= operator, records (newbie)



levilista@xxxxxxxxx wrote:
Another question:

Why does this not work? (I want to use a conjunction in call; such
conjunctions work fine in findall.)

32 ?- call((plus(2,A),plus(A,B)).
ERROR: Syntax error: Unexpected end of clause
ERROR: call((plus(2,A),plus(A,B))
ERROR: ** here **
ERROR: .

you forgot a ) at the end call((plus(2,A),plus(A,B))) works for me (i defined some arbitrary plus).

greetings martin
.