Sets may have at most 256 elements出错
Wnyu 2002-08-13 06:50:13 当我输入下面代码时:
Type
TCharSet = set of Char;
Const
AllDigits: TDigits = ['0'..'9'];
程序能成功地编译并运行,但当考虑到UniCode时,我把代码修改为:
Type
TWideCharSet = set of WideChar;
Const
AllWideCharDigits: TWideCharSet = ['0'..'9'];
这时候编译出错,提示如下:
[Error] MyAutoObject.pas(41): Sets may have at most 256 elements”.
请问如何解决这个错误?