D
dcs_dcs
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.Button1Click(Sender: TObject);
var
Str: string;
WStr: WideString;
begin
Str :=Chr($81)+Chr(0);
ShowMessage(IntToStr(Length(Str)));
showmessage(str);
WStr :=Str;
Str :=WStr;
ShowMessage(IntToStr(Length(Str)));
showmessage(wstr);
end;
var
Str: string;
WStr: WideString;
begin
Str :=Chr($81)+Chr(0);
ShowMessage(IntToStr(Length(Str)));
showmessage(str);
WStr :=Str;
Str :=WStr;
ShowMessage(IntToStr(Length(Str)));
showmessage(wstr);
end;