Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ERROR: Undefined procedure: sibling/2

7 views
Skip to first unread message

Iqram Mahmud

unread,
Feb 2, 2010, 11:27:33 AM2/2/10
to
I was writing a code in prolog. I have a function like this -

sibling(X,Y) :-
brother(X,Y) ; sister(X,Y) .

whenever I run it it says
ERROR: Undefined procedure: sibling/2

I tried to google it over last few days and couldnt reach any solution.

Iqram Mahmud

unread,
Feb 2, 2010, 12:27:16 PM2/2/10
to

I am sorry - I found my misake! :S
I wrote a C-style comment there, that caused that problem. :S

0 new messages