Returns a single character whose ASCII code corresponds to the specified value.
Syntax
BYTE(x)
Parameters
x is a fixed-point binary integer value.
Description
The BYTE function returns a single character whose ASCII code corresponds to the value x. The index into COLLATE() is taken by considering only the rightmost bits of x (one byte). The BYTE function uses a 256-byte collating string.
Examples
CHAR=BYTE(66) /* returns 'B' for the American English ASCII collating sequence */
Description
The BYTE function returns a single character whose ASCII code corresponds to the value x. The index into COLLATE() is taken by considering only the rightmost bits of x (one byte). The BYTE function uses a 256-byte collating string.