
| Purpose | Determine the size of a single character in a 
 | 
| Syntax | siz& = CHRBYTES(MyStringVar) | 
| Remarks | This function is used to determine whether a particular string variable contains ANSI characters or Unicode (wide) characters, ANSI characters are stored in 1 byte, so the function returns 1 if the variable is a dynamic string, stringz, string*n, or field string. Unicode characters are stored in 2 bytes, so the function returns 2 if the variable is a wstring, wstringz, wstring*n, or wfield string. This function may be particularly valuable in some macros which use string variables. | 
| See Also |