Clearing screen in pascal

Discussion in 'Software' started by iamien, Feb 13, 2003.

  1. iamien

    iamien Cptn "Eh!"

    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
     
  2. lesrae

    lesrae Private E-2

  3. iamien

    iamien Cptn "Eh!"

    that comand is used in turbo pascal and usese ctr.dcu
    Sometihn pascal doesnt seem to have
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds