Re: Why won't my screen clear?

new topic     » goto parent     » topic index » view thread      » older message » newer message

>>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".

AFAIK, the screen will only clear the the graphics mode changes. If you
are already in text mode, the graphics mode won't change, and the screen
won't clear. That's been my experience.

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu