next up previous index
Next: Initialising and Shutting Down Up: Summary of C++ Interface Previous: Passing Data to and   Index

Operations on ECLiPSe Data

Interfaces to some basic operations on ECLiPSe Data.
int compare(const EC_word& pw1, const EC_word& pw2)

Similar to the compare/3 built-in predicate: returns 0 if the arguments are identical, a negative number if pw1 is smaller than pw2, and a positive number if pw1 is greater than pw2 in the standard term ordering.

int EC_word::schedule_suspensions(int)

Similar to the schedule_suspensions/2 built-in predicate. Waking will only happen once control is returned to ECLiPSe and the wake/0 predicate is invoked. Return code is EC_succeed or an error code.



Warwick Harvey
2004-08-07