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 Rhinorhino 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
Joined
Mar 16, 2010
Messages
1
Location
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.

Similar threads

Part and Inventory Search

Sponsor

Back
Top