Link to home
Start Free TrialLog in
Avatar of tomas11
tomas11

asked on

how to write memo to textfile

how do i get the text i have in my Tmemo written to a textfile?
ASKER CERTIFIED SOLUTION
Avatar of brainware
brainware

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 vladika
vladika

Use this

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




2brainware:

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