Waddo
2008-05-07 13:15:43
here it is
save it as an include
and call it via scrolly(numberoflines);
save it as an include
and call it via scrolly(numberoflines);
2008-05-07 13:15:43
2008-05-09 16:24:35
2008-05-09 17:39:04
procedure ScrollDebug(Text: TStringArray; WaitBetweenLines, MaxLines: Integer);
var
Textz: Integer;
begin
ClearDebug;
for Textz := 0 to High(Text) do
begin
if Textz >= MaxLines then DeleteDebugLine(0);
WriteLn(Text[Textz]);
Wait(WaitBetweenLines);
end;
end;
begin
ScrollDebug(['line 1', 'line 2', 'line 3', 'line 4', 'line 5', 'line 6',
'line 7', 'line 8', 'line 9', 'line 10', 'line 11', 'line 12', 'line 13',
'line 14', 'line 15', 'line 16', 'line 17'], RandomRange(200, 500), 5);
end.2008-05-10 07:33:05