Futurebasic/Language/Reference/fbcomparecontainers
FBCompareContainers function[edit | edit source]
FBCompareContainers[edit | edit source]
Function[edit | edit source]
✔ Appearance ✔ Standard ✔ Console
Syntax[edit | edit source]
result& = FN FBCOMPARECONTAINERS(a$$,b$$)
Revised[edit | edit source]
June 12, 2000 (Release 3)
Description[edit | edit source]
This function returns a result that represents how container a$$
compares to container b$$
. If the result&
is zero, the containers are identical. A negative result (-n&) provides the character position at which container a$$
was found to be less than container b$$
. A positive result give the character position where container a$$
became greater than container b$$
.
Result |
Indicates |
Negative |
container |
Zero |
container |
Positive |
container |
Note:
With this function, containers are evaluated by ASCII (not numeric) values.