P
prtmon
Unregistered / Unconfirmed
GUEST, unregistred user!
现有定义如下:<br> TMyRecord1=packed record<br> filed1:string;<br> filed2:smallint;<br> end<br> TMyRecords=packed record<br> count:integer;<br> recordData:array [0..0] of TMyrecord1;<br> end<br><br> 怎样操作新增一个tmyrecord1进tmyrecords里,每增加1个需要分配分配内存吗?<br> 删除时又怎样操作?<br><br>谢!