Welcome! Log In Create A New Profile

Advanced

assignment 1

Posted by Anonymous User 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Anonymous User
assignment 1
March 10, 2006 11:11AM
Hi
In our textbook it says that =\= is sued to compare if 2 terms are not equal to one another - I tried this in the version of prolog we were supplied with but it doesn't work. Is this because =\= is specifically for algebraic comparisons?

I did find that \= = does the job....

cElene
Re: assignment 1
March 14, 2006 07:27PM
Hi Celene

I also noticed that =\= only seemed to work with numerical terms. In amzi's examples I saw \= used for not equal. That worked for me.

Regards
Shaun.
Re: assignment 1
April 04, 2006 10:00AM
The various kinds of equality and comparison are discussed on page 160.
Sorry, only registered users may post in this forum.

Click here to login