S
simoncai
Unregistered / Unconfirmed
GUEST, unregistred user!
我定义字符串常量数组时,因为字符串长度超过255,在编译时出现“String literals may have at most 255 elements.”的错误提示。常量数组定义如下:
CONST
OrderStr:array[1..2] of String=
('AABBCCDDEEFFFFFFF...','FFEEBBFFFFFFFF...');
两个字符串长度都超过255,将字符串类型String改为Widestring或者改为AnsiSting时都提示同样的编译错误。望各路高手指点为感!
CONST
OrderStr:array[1..2] of String=
('AABBCCDDEEFFFFFFF...','FFEEBBFFFFFFFF...');
两个字符串长度都超过255,将字符串类型String改为Widestring或者改为AnsiSting时都提示同样的编译错误。望各路高手指点为感!