CharByte
CharByte Check character type of byte at given offset Ptr textBuf ; address of a text buffer short textOffset ; location of byte relative to first byte in buffer
returns value specifying character type
CharByte checks the character type of the specified byte at the given offset textBuf is the address of a text buffer where the character is stored.
textOffset is the location of the specified byte.
-1 First byte of a multibyte character
0 Single byte character
1 Last byte of a multibyte character
2 Middle byte of a multibyte character