A
a2236523
Unregistered / Unconfirmed
GUEST, unregistred user!
我把txt文件内容写入MEMO控件,但我想在每行的结尾并上一个逗号,但在最后一行不要逗号,请问要如何写!
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
if OpenDialog1.Execute then
begin
Memo1.Lines.LoadFromFile(OpenDialog1.FileName) ;
end;
end;
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
if OpenDialog1.Execute then
begin
Memo1.Lines.LoadFromFile(OpenDialog1.FileName) ;
end;
end;