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!

Search results for query: *

  1. phatassbob

    Writing out multiple answers to file.

    Hi, I want to solve a query that can have multiple answers and I want the answers to be output to a text file. The problem is that I can only get the first answer to output and not the rest. My code is as follows. solve:- top_goal(X), open('out.txt',append,OS), write(OS,X),nl(OS)...

Part and Inventory Search

Back
Top