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

compiler problem with code

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
I am having a problem with my compiler that will not accept my statements. Everytime I ask the compiler to accept it gives a syntax error, does anyone know what I am doing
wrong? I have written the statement below.

taller (raymond, dorothy)
taller (david, kathryn)
taller (kathryn, dorothy)

taller (X,Z) :- taller (X,Y), taller (Y,Z)

 
try adding dots at the end of lines
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top