本文整理自网络,侵删。
procedure TForm2.Button1Click(Sender: TObject);var StrLst:TStringList;begin StrLst:=TStringList.Create; StrLst.LoadFromFile('D:\text.txt'); ShowMessage(StrLst[StrLst.Count-1]); StrLst.Free;end;
相关阅读 >>
Delphi tms web core twebhttprequest使用
更多相关阅读请进入《Delphi》频道 >>