|Did you know ...||Search Documentation:|
|Comparison (version 2)|
longand perform standard C-comparison between the two long integers. If
PlTermcannot be converted a
PlTermis an atom or string representing the same text as the argument,
falseif the conversion was successful, but the strings are not equal and an
type_errorexception if the conversion failed.
Below are some typical examples. See section 2.12.2 for direct manipulation of atoms in their internal representation.
|Test A1 to hold a Prolog integer or float that can be transformed lossless to an integer less than zero.|
is before the term‘0' in the‘standard order of terms'. This
means that if A1 represents an atom, this test yields |
to represent the term
|Test A1 to be an atom or string holding the text “now''.|