R0b0t1
2007-09-13 21:41:17
Yep… But I need help doing it.
1). Get the webpage or something… Like multi-line news.
2). You need to find out how to cut the string up into the length of the characters per debug box line.
3). You then store each "cut" of the one string in a TStringList, and then write out the list to the box…
Just dunno how to cut it…
1). Get the webpage or something… Like multi-line news.
2). You need to find out how to cut the string up into the length of the characters per debug box line.
3). You then store each "cut" of the one string in a TStringList, and then write out the list to the box…
var
animals : TStringList; // Define our string list variable
i : Integer;
begin
// Define a string list object, and point our variable at it
animals := TStringList.Create;
// Now add some names to our list
animals.Add('Cat');
animals.Add('Mouse');
animals.Add('Giraffe');
// Now display these animals
for i := 0 to animals.Count-1 do
ShowMessage(animals[i]); // animals[i] equates to animals.Strings[i]
end;
Just dunno how to cut it…