Re: Why won't my screen clear?
- Posted by Irv <irv at ELLIJAY.COM> May 11, 1998
- 610 views
At 07:19 PM 5/11/98 EDT, ST Qu Man wrote: >I am making a program that makes trivia games, when it's done, >the last 3 lines are: >if graphics_mode(-1) then >end if >cursor(UNDERLINE_CURSOR) >abort(0)... >WHY WON"T IT CLEAR THE SCREEN? It just puts the DOS >prompt at the currect >cursor location. Those last lines are in a procedure, does that >matter? No. I think you may have this confused with the system() call. Graphics_mode(-1) changes back to the previous mode, there's no mention of clearing the screen. The documentation says that if it leaves junk on the screen, you should use the DOS command CLS. I think you could also put a clear_screen() right after the "then". Irv