Sort data
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Similarly, any comparisons of characters that rely on
the value a character has in a given code page result in code that
returns false results. The value a character has in a code page
is not necessarily its sort weight. For example, using the CHR function,
which converts a numeric value into a character, can produce errors.
The condition IF Z < CHR(255) could
be false if the character with the code page value of 255 has a
sort weight of 1. In this case, no character can come before the
character that sorts as 1.