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!

control prolog answers

Status
Not open for further replies.

vbx

Programmer
Dec 12, 2010
18
RO
If my prolog querry shows me lets says 10 answers,how can i do to make it print only the first 5 of them ? Thanks in advanced
 
You press ENTER after the fifth, thereby stopping the backtracking.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top