Type
PSendSmsInfo = ^TSendSmsInfo;
TSendSmsInfo = Record
Mobile:string;
Msg:string;
MsgId:string;
end;
ARecord:PSendSmsInfo;
MsgList:TList;
New(ARecord);
ARecord^.MsgId :=inttostr(nMsgIndex);
ARecord^.Mobile:=RegMonthUser.FieldValues['Mobile'];
ARecord^.Msg :=TB_Message.FieldValues['Message'];
MsgList.Add(ARecord);
请问为什么到最后一句会出现错误:
Invalid variant type conversion
是什么原因?急啊