<< Prev | - Up - |
This section collects procedures to compare integers with integers, floats with floats, and atoms with atoms. Atoms are compared lexically. Comparison between values of different types is not allowed and an attempt to do so will raise a run-time error.
=<
{Value.'=<'
+AFI1
+AFI2
?B
}
tests whether AFI1
is less than or equal to AFI2
.
<
{Value.'<'
+AFI1
+AFI2
?B
}
tests whether AFI1
is less than AFI2
.
>=
{Value.'>='
+AFI1
+AFI2
?B
}
tests whether AFI1
is greater than or equal to AFI2
.
>
{Value.'>'
+AFI1
+AFI2
?B
}
tests whether AFI1
is greater than AFI2
.
Max
{Value.max
+AFI1
+AFI2
?AFI3
}
returns the maximum of AFI1
and AFI2
.
Min
{Value.min
+AFI1
+AFI2
?AFI3
}
returns the minimum of AFI1
and AFI2
.
<< Prev | - Up - |