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 IamaSherpa 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: *

  • Users: vuj
  • Order by date
  1. vuj

    Help with appending facts into an existing prolog file.

    Thanks for your replies. I've managed to get it working by writing ":- dynamic born/2" in the file before listing the facts, as suggested above.
  2. vuj

    Help with appending facts into an existing prolog file.

    Hi, I'm having trouble inserting facts into an existing prolog file, without overwriting the original contents. Suppose I have a file test.pl: :- dynamic born/2. born(john,london). born(tim,manchester). If I load this in prolog, and I assert more facts: | ?- assert(born(laura,kent)). yes...

Part and Inventory Search

Back
Top