星
星空
Unregistered / Unconfirmed
GUEST, unregistred user!
在客户端定义了如下记录:
GoodsRec=record
id:integer;
goodsid:string[7];
goodsname:string[50];
goodsnum:integer;
goodsunit:string[10];
goodsprice:currency;
goodstotal:single;
end;
EmpMessage=record
ename:string[12];
phone:string[20];
address:string[100];
sendtime:string[30];
memberid:string[9];
orderid:string[13];
computerid:string[8];
MerkId:string[2];
cardid:string[2];
mem:string[255];
ReCount:integer;
G_Record:array of GoodsRec;
end;
然后用clientsocket.sendbuf发送,用serversocket.receivebuf接收,
仅读出了除G_Record外的数据,G_Record中的数据该如何读取?
GoodsRec=record
id:integer;
goodsid:string[7];
goodsname:string[50];
goodsnum:integer;
goodsunit:string[10];
goodsprice:currency;
goodstotal:single;
end;
EmpMessage=record
ename:string[12];
phone:string[20];
address:string[100];
sendtime:string[30];
memberid:string[9];
orderid:string[13];
computerid:string[8];
MerkId:string[2];
cardid:string[2];
mem:string[255];
ReCount:integer;
G_Record:array of GoodsRec;
end;
然后用clientsocket.sendbuf发送,用serversocket.receivebuf接收,
仅读出了除G_Record外的数据,G_Record中的数据该如何读取?