Does MemCmp not work as documented?
Int rv;
rv = MemCmp("01L", "02L", 3); <- rv = 255 after the call
rv = MemCmp("02L", "01L", 3); <- rv = 1 after the call
The documentation claims that it returns
+ if r1 > r2
- if r1 < r2
0 if r1 = r2
One of the MemCmp I tried should have returned < 0, what's up with that?
I take it that it is doing byte-wise comparisons and rv is some difference
of the first byte
that doesn't match, I mean I guess I could write a "MemCmp" that does it the
way I think it should, but I'd like to straighten out what I'm missing.