I want to display text in a TRichEdit using a for loop, but the only way I know how to display text in a RichEdit is by saying richedit.Lines.Add('blah blah blah'), but when I do this in a loop, each iteration displays its text on the next line instead of the same line as the previous iteration.
Is there a way to display text in a RichEdit using a loop in 1 continuous line, instead of it jumping to the next line each time it goes through the loop?
for i := 1 to 7 do
begin
if (arrScores[i] <> MinValue(arrScores)) OR (arrScores[i] <> MaxValue(arrScores)) then
begin
redOut.Lines.Add(FloatToStr(arrScores[i]));
end;