Y
YYGGQQ
Unregistered / Unconfirmed
GUEST, unregistred user!
type
TPack= array[0..15] of Byte;
...................
............
..............
implementation
procedure TForm1.Button1Click(Sender: TObject);
var
I: Integer;
begin
Result := '';
for I := Low(TPack) to High(TPack) do
Result := Result + Chr(TPack);
end;
就是想把字节数组转成string 但总是报错不能编译,不知道是什么原因呢,请指点?
TPack= array[0..15] of Byte;
...................
............
..............
implementation
procedure TForm1.Button1Click(Sender: TObject);
var
I: Integer;
begin
Result := '';
for I := Low(TPack) to High(TPack) do
Result := Result + Chr(TPack);
end;
就是想把字节数组转成string 但总是报错不能编译,不知道是什么原因呢,请指点?