A problem about constraints

"Zhao, Yang" <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general,gmane.spam.detected
Message-ID <[email protected]>
Hi, all
	In programming, I want to express the constraints between two variables X and Y. A formula can be designed like:
	constraint(X,Y) :- (success if the constraint is satisfied)
	It's convenient to call it where the constraint is needed.
	Now the my question comes: If I want to express the logic computation between this constraint and other constraint.It must be an error to write constraintA(X,Y) #\/ constaintB(X,Y).
	How can I do? Thank you! 
 				
--------------
Zhao, Yang
2006-11-03
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.