Futurebasic/Language/Reference/usr getsinglebyte

boolean = USR GETSINGLEBYTE

Revised July 26, 2000 (Release 3)

Description - If you have selected "Automate handlers for 1 & 2 byte strings" in the Preferences window under the Vars tab, this function will return a non-zero value when operating in single byte mode. Single byte mode is used for Roman fonts. Two byte script systems such as Chinese, Japanese, Vietnamese, and Korean require two bytes per character. This function will return zero if you selected "Automate handlers for 1 & 2 byte strings" and if you have not used DEF SETSINGLEBYTE.

In all other cases, it returns -1.

See Also DEF SETDOUBLEBYTE; USR GETDOUBLEBYTE, DEF SETSINGLEBYTE