Chapter Contents |
Previous |
Next |
RANK |
OS/2 specifics: | Uses the ASCII collating sequence |
Syntax | |
Details | |
See Also |
Syntax |
RANK(x) |
Details |
Because OS/2 is an ASCII system, the RANK function returns an integer that represents the position of a character in the ASCII collating sequence. The x argument must represent a character in the ASCII collating sequence. If the length of x is greater than 1, you receive the rank of the first character in the string.
Note: Any program that uses the
RANK function with characters above ASCII 127 (the hexadecimal notation is
'7F'x
) is not portable because these are national characters and they vary
from country to country.
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.