A control string is a sequence of one or more control characters, each of which consists of the # symbol followed by an unsigned integer constant from 0 to 255 (decimal or hexadecimal) and denotes the corresponding ASCII character.#后面接0到255(10进制或者16进制)表示对应的asii码
请看清楚问题 var str: string; begin str := #0 + 'ssss'; showmessage(str); str := '#0ssss'; showmessage(str); //这样??? end;
请看清楚问题 var str: string; begin str := #0 + 'ssss'; showmessage(str); str := '#0ssss'; showmessage(str); //这样??? end;
var
str: string;
begin
str := #0 + 'ssss';
showmessage(str);
str := '#0ssss';
showmessage(str);
//这样???
end;
var
str: string;
begin
str := #0 + 'ssss';
showmessage(str);
str := '#0ssss';
showmessage(str);
//这样???
end;
是format的问题,你在干嘛?无语