L
lin010125
Unregistered / Unconfirmed
GUEST, unregistred user!
var
val : WideString;
begin
val := 'ddddddddddddddddddddddddddddddddddddddddddddd';
当val的长度超过255个字符时编译出错。提示:
[Error] main.pas(706): String literals may have at most 255 elements
WideString类型不是可以存2G的字符吗?为什么这里超过255个字符就报错?
val : WideString;
begin
val := 'ddddddddddddddddddddddddddddddddddddddddddddd';
当val的长度超过255个字符时编译出错。提示:
[Error] main.pas(706): String literals may have at most 255 elements
WideString类型不是可以存2G的字符吗?为什么这里超过255个字符就报错?