lordhaworth
September 3rd, 2008, 03:58 PM
Hi all
I have a few programs now, for which Id like to clear (or refresh, however you want to put it) the screen. For example, a pacman - style game Ive written: itd look a lot better if it didnt pan down the console the way it does at the minute + you can see the old movements by scrolling up!
It would also be nice to use after having selected a menu option etc...
I was wondering if there was a built in method for clearing the screen Fortran 90? - (I dont think this is likely)
Alternatively if there is a generic subroutine I could create from scratch and just add to my various programs an outline of how I might do this would be appreciated. I program in C aswell so could probably interpret a solution in C to Fortran.
Cheers
Tom
I have a few programs now, for which Id like to clear (or refresh, however you want to put it) the screen. For example, a pacman - style game Ive written: itd look a lot better if it didnt pan down the console the way it does at the minute + you can see the old movements by scrolling up!
It would also be nice to use after having selected a menu option etc...
I was wondering if there was a built in method for clearing the screen Fortran 90? - (I dont think this is likely)
Alternatively if there is a generic subroutine I could create from scratch and just add to my various programs an outline of how I might do this would be appreciated. I program in C aswell so could probably interpret a solution in C to Fortran.
Cheers
Tom