Pascal command

Solved
pijahema Posted messages 52 Status Member -  
 tunisia -
La commande en Pascal pour effacer l'écran est :

```pascal
clrscr;
```

8 answers

  1. Fayssalis
     
    slut! Do you want to know the command that will allow you to clear the screen "in Pascal":
    IF you are working in text mode use "clrscr", which is a procedure that has no parameters and belongs to the "crt" unit,
    so you must write before the definition of the variables of your program "uses crt";
    take a good look at this example:
    program clear;
    uses crt;
    var x,y:integer;
    begin
    clrscr;
    writeln("Enter two numbers");
    readln(x,y);
    writeln("The product of these two numbers is " x*y);
    readln;
    end.

    and if you are working in graphics mode use "cleardevice"; without forgetting to write beforehand uses graph;

    GOOD LUCK
    end;
    8
  2. TuXor Posted messages 97 Status Member 25
     
    Hi,

    it seems to me that it's the style
    clear

    or
    clrsrc


    sorry for the approximation of the answer.

    --
    Don't look for the impossible,
    unless at GMT + 2.
    4
    1. jame44 Posted messages 1 Status Member
       
      yes it is clrsrc i.e. "clear screen"
      0
    2. ghaith
       
      clrsrc
      0
    3. tunisia
       
      ClrScr ;
      0
    4. tunisia
       
      clear (clr) screen(scr) : clrscr
      0
  3. pijahema Posted messages 52 Status Member 6
     
    Alright, thanks, that's good!
    1
  4. unis filter Posted messages 7 Status Member
     
    hi

    there is borland pascal and turbo pascal available on this site

    courses and exercises on this site

    http://www.bacpascal.fr.tc
    1
  5. neta 500
     
    Good evening, I am still studying and I wanted to know that since I am on Vista Turbo Pascal is in QWERTY and cannot be displayed in full screen. I was advised to use Dev Pascal, but it is much more complicated and I cannot execute the program (the black screen on TP7). If someone could help me, it would be nice.
    0
  6. unis filter Posted messages 7 Status Member
     
    use Borland Pascal

    IF YOU WANT COURSES ON PASCAL MY FRIEND, YOU WILL FIND THE BEST COURSES GATHERED ON THIS SITE
    AND YOU WILL ALSO FIND UP-TO-DATE EXERCISES. SOFTWARE LIKE BORLAND PASCAL AND TURBO PASCAL.
    HAVE FUN AND GOOD LUCK WITH YOUR STUDIES. jlassi zied

    http://www.bacpascal.fr.tc/jlassi%20zied/cours/cours%20pascal/
    0
  7. informaticienne
     
    The command that allows you to clear the screen in Pascal is CLRSCR;
    0