Try OpenEdge Now
skip to main content
Internationalizing Applications
Preparing the Code : Sorting data
 

Sorting data

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.
* Local conventions
* Using collation tables
* Using case tables