in reply to Re^2: Comparing packed variables
in thread Comparing packed variables
No, it's not a bug. String compare works from lowest memory address (first byte) to highest comparing one byte from each string at a time. Little endian puts the least significant byte in lowest memory so the two lowest bytes are compared first which is exactly backwards to what you want.
|
|---|