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

  1. LordHelmet666

    predicate that returns a list of positions of given Subterm

    Can someone help me with this? I have a predicate that returns to me the number of times the Subterm occurs, but I need it to return to me a list of the positions it occurs at. *******************WHAT I HAVE******************* position(_,[],0). position(X,[X|L],N) :- position(X,L,M), N is...

Part and Inventory Search

Back
Top