RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.LeadBytes Variable

Lists all values that can be the first byte of a double byte character on the local system.

Pascal
LeadBytes: set of Char = [];
C++
set of Char LeadBytes = [];

SysUtils

Use LeadBytes to test whether a value can represent the lead byte in a double byte character. If an individual value is in the LeadBytes set, it is not necessarily used as the lead byte of a double byte character. It may also appear as the second byte of a double byte character. To determine whether the character is used as a lead byte, use the global ByteType or StrByteType function.

Note: LeadBytes is always empty when running on a system with a locale that does not use a multi byte character system (MBCS).
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!