The following predicates are available in the compatibility package. They are exported from the module cprolog and automatically imported by use_module/1 or lib/1.
The above two are implemented by simply calling the ECLiPSe predicate compile/1. By default all compiled procedures are static. Procedures on which assert/1 etc. will be applied, have to be declared as dynamic using dynamic/1. The notation [-File] for reconsult/1 is not supported.
This is similar to the ECLiPSe predicate get/1, but control characters and blank spaces are skipped.
Needed for evaluating heapused in arithmetic expressions. It returns the sum of code heap and general heap usage.
Note that this compatibility predicate redefines the ECLiPSe builtin of the same name but different meaning (which is no longer available in C-Prolog mode). It is implemented using the ECLiPSe predicate referenced_record/2.
The ECLiPSe leash built-in provides more functionality than the C-Prolog equivalent.
These are not predicates in C-Prolog (arithmetic functors), but in ECLiPSe
they are needed for evaluating log/1 and log10/1 in arithmetic expressions.
This is similar to the ECLiPSe predicate put/1, but it first applies arithmetic evaluation to its argument.
The predicates of the see/tell family are defined in the cio library and can also be loaded independently.
corresponds to the DEC-10 Prolog predicate