Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

questions of how to jump prolog

Status
Not open for further replies.

vero2390

Programmer
Jul 14, 2011
2
IT
in Prolog
I made ??up the rules so

home: - domanda (yellow wall), domanda2 ( bulbs), domanda2 (attic), domanda2 (desk)

Villa: - domanda(green wall), domanda( lamp), domanda2 (attic), domanda2 (mobile)

how do I say that if the specific domanda2 (attic) is negative, you have to skip all the other domanda2
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top