Wouldn't this also work:
var s : string;
begin
for s in memo1.lines do
showmessage(s);
end;
Or is that too much of a flash back to the scripting days?
~
Give a man some fire, he will be warm for a day, Set a man on fire, he will be warm for the rest of his life.