Google is your friend. The following is from the first hit of a Google search for "memo load from file example." The site is
http://www.delphibasics.co.uk/, an invaluable resource for me.
------------------------------------------------------------------------------------------------
The TStringList class is a very useful utility class that works on a list of strings, each indexable like an array. The list can be sorted, and supports name/value pair strings, allowing selection by name or value.
These lists can be furnished from text files in one fell swoop. Here we show a TStringList object being created, and loaded from a file:
var
fileData : TStringList; // Our TStringList variable
begin
fileData := TStringList.Create; // Create the TSTringList object
fileData.LoadFromFile('Testing.txt'); // Load from Testing.txt file
...
We can display the whole file in a Memo box: memoBox.Text := fileData.Text;
------------------------------------------------------------------------------------------------
Can you guess the method for saving text to a file?