Link to home
Start Free TrialLog in
Avatar of mingwei
mingwei

asked on

Save memo lines to file.

Hi experts:
   My project will save memo lines in a file,i use
  memo1.lines.savetofile(myfilename) and it works(this function rewrite my file),my question is:if my file exists I want to append my context to my file.
It is a simple question but i can not work it out ,pls. help me.

If not FileExist(myfile) then
  savetofile(myfile)
else
  ???
ASKER CERTIFIED SOLUTION
Avatar of simonet
simonet
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mingwei
mingwei

ASKER

Very thanks for your answer again!
I visit your web site just now,I think you should supply more tips there if you have time!