Futurebasic/Language/Reference/usr getdoublebyte

USR GETDOUBLEBYTE

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 double 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 (or have reset the system with DEF SETDOUBLEBYTE.)

In all other cases, it returns -1.

See Also DEF SETDOUBLEBYTE; DEF SETSINGLEBYTE, USR GETSINGLEBYTE