iamien
02-13-03, 17:15
LEarning pascal but cant figure out how to clr the screen and have to set cursor to top left
i know turbo pascal suports this but not doing turbo doing pascal.
My only other alternative is to set up a repeat loop like so
procedure clrscr;
var
rpt : integer;
begin
repeat
writeln(' ');
rpt := rpt + 1;
until rpt = 50
end;
So how can i clear the screen in pascal? without just spaming bunch of empty lines
i know turbo pascal suports this but not doing turbo doing pascal.
My only other alternative is to set up a repeat loop like so
procedure clrscr;
var
rpt : integer;
begin
repeat
writeln(' ');
rpt := rpt + 1;
until rpt = 50
end;
So how can i clear the screen in pascal? without just spaming bunch of empty lines