Clear Screen



Dear All,

I am having some trouble with clearing screen. I can't find any way to
do this in Fortran.
Documents from http://www.ibiblio.org say that

WRITE(*,*) CHAR(27), '[2J'

statement will clear the screen. But it is not working for me. I used
CALL SYSTEM('cls') or CALL system('clear'); but I dont like the idea.
Is there any other way in Fortran to do that?


Another thing - How can I access printer from a Fortran program?

Regards


Rosana

.



Relevant Pages

  • Re: Import Matrix
    ... I am having trouble in importing my matrix. ... In Fortran, you will OPEN the file which you save from Excel and READ ...
    (comp.lang.fortran)
  • Re: Hey, guys, whats first program have you learnt?
    ... the first lession. ... But I think there is no trouble beginning with C. ... Just had a beer and read that as Fortran II circa 1620. ...
    (comp.programming)
  • Re: ENTRY variables and INTERNAL procedures.
    ... crossposting) on adding something similar to Fortran 2008. ... Not implementation trouble, but rather trouble with maintainability, understandability and manageability. ...
    (comp.lang.pl1)
  • Re: intel compiler and [REFERENCE] keyword?
    ... routine, it is an int. ... This is trouble - Fortran LOGICAL does not match ...
    (comp.lang.fortran)
  • Re: allocate/deallocate question
    ... > Whenever I worry too much about what goes on under the covers I ... > usually get in trouble. ... Were you talking about Fortran? ... Prev by Date: ...
    (comp.lang.fortran)