这段代码也不行
procedure TForm1.Timer1Timer(Sender: TObject);
begin
if fileexists('c:\ui.txt') then
begin
memo1.Lines.LoadFromFile('c:\ui.txt');
end
else memo1.Lines:='正在运行’;
end;
end.
Error] Unit1.pas(43): Incompatible types: 'TStrings' and 'String'
[Fatal Error] Project1.dpr(5): Could not compile used unit 'Unit1.pas'