Q
qqnm
Unregistered / Unconfirmed
GUEST, unregistred user!
我有几个record的类型,想把他们放到一个数组中去,record里面也包括#0等不可见字符,该怎么转啊?
例如:
Raaa = record
a1:string;
a2:string;
end;
Rbbb = record
b1:string;
b2:string;
end;
ccc:array of byte;
/////////
Raaa.a1:='1111'+chr(0);
Raaa.a2:='2222'+chr(13)+'2222'
Rbbb.b1:='33333';
Rbbb.b2:='44444';
如何将Raaa.a1和Raaa.a2和Rbbb.b1和Rbbb.b2一块付给ccc?
例如:
Raaa = record
a1:string;
a2:string;
end;
Rbbb = record
b1:string;
b2:string;
end;
ccc:array of byte;
/////////
Raaa.a1:='1111'+chr(0);
Raaa.a2:='2222'+chr(13)+'2222'
Rbbb.b1:='33333';
Rbbb.b2:='44444';
如何将Raaa.a1和Raaa.a2和Rbbb.b1和Rbbb.b2一块付给ccc?