Next: cpg-ref-SP_cons_functor, Previous: cpg-ref-SP_close_query, Up: cpg-bif [Contents][Index]
SP_compare()
#include <sicstus/sicstus.h> int SP_compare(SP_term_ref x, SP_term_ref y)
Compares two terms.
The one term to compare
The other term to compare
-1 if x
@< y
, 0 if x
== y
, and 1 if x
@> y
.
ref-lte-cte, Unifying and Comparing Terms.