L
lanchong
Unregistered / Unconfirmed
GUEST, unregistred user!
比如:
procedure TForm1.MSComm1Comm(Sender: TObject);
var
recstr:Olevariant;
begin
if Mscomm1.CommEvent =2 then
recstr:= Mscomm1.Input;
end;
如何把recstr的值赋给strins型变量?
procedure TForm1.MSComm1Comm(Sender: TObject);
var
recstr:Olevariant;
begin
if Mscomm1.CommEvent =2 then
recstr:= Mscomm1.Input;
end;
如何把recstr的值赋给strins型变量?