Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Clear Screen

sbb
Beginner
729 Views
I am rather new to CVF. Is there a function similar to basic's Clear Screen command to erase the information shown on a console screen?
0 Kudos
2 Replies
eddie_breeveld
Beginner
729 Views

There may be a better way to do it, but a simple loop writing blank lines should work:

program testing

implicit none
integer i

print *, 'Hello World'

do i=1,40 ! or your biggest screen size
print *
end do

end program testing

All the best,
0 Kudos
sabalan
New Contributor I
729 Views

Look at ClearScreen in the on-line documentation.

Sabalan.

0 Kudos
Reply