一method程序:
(product:object)
is
actRow:integer;
do
actRow := tpt_protocol.YDim+1;
tpt_protocol["part_ID",actRow] :=product.id;
tpt_protocol["LifeSpan",actRow] := @.statAvgLifeSpan;
end;
请问高手:console中出现 in line 6: A 'VOID' cannot accept the method 'id'.是怎么回事?
(product:object)
is
actRow:integer;
do
actRow := tpt_protocol.YDim+1;
tpt_protocol["part_ID",actRow] :=product.id;
tpt_protocol["LifeSpan",actRow] := @.statAvgLifeSpan;
end;
请问高手:console中出现 in line 6: A 'VOID' cannot accept the method 'id'.是怎么回事?