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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Family Line

Status
Not open for further replies.

itsmetbh

Programmer
Mar 16, 2010
1
GB
Hi,

I was wondering if anyone could give me some guidance!

I'm trying to create a family line, eg;

familyline(X,Y,Z) :- _____________ .

That would bring up a list of all the possible Y if y appears in a direct line of descent from X to Z.

I have already set details such as descendant(x,y).

However imp really struggling to get this going.

Many Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top