var
CommStr:string;
begin
CommStr:=MyComm.readcomm;//假如CommStr是每次收到的串口数据
//现在要求把CommStr的数据写到一个文本文件里,保存到c:\log.txt中
end;
谁有代码吗?