We help IT Professionals succeed at work.

how to write memo to textfile

tomas11
tomas11 asked
on
Medium Priority
313 Views
Last Modified: 2010-04-04
how do i get the text i have in my Tmemo written to a textfile?
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
Use this

Memo.Lines.SaveToFile('mytext.txt');




Commented:
2brainware:

for I:=0 to Memo1.Lines.Count - 1 do // Loops from 0 to count of lines in memo
                                   ^^^^^^^^^^^

Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.