想在一个Tcollection对象中增加一个Tcollectionitem对象,用如下发放
empList:TCollection;
empList:=TCollection.create(TCollectionItem对象);
empList.add;
empList.Items[emplist.count-1].assign(TCollectionItem对象);
但是在最后一句出现错误。请各位大虾指点
empList:TCollection;
empList:=TCollection.create(TCollectionItem对象);
empList.add;
empList.Items[emplist.count-1].assign(TCollectionItem对象);
但是在最后一句出现错误。请各位大虾指点
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货