Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>flreset() - reset the ega/vga to it's default font+mode</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     FLreset() - reset the EGA/VGA to it's default font+mode
  Usage:    <logical> = FLreset()
  Params:   none
  Returns:  logical .T. if adaptor reset, .F. if not or error

 ---------------------------------- Example ---------------------------------

            This example loads a font, executes the prompts and
            then resets the adaptor before quitting.

                 FLdigital(1)
                 @ 10,0 prompt ....

                 menu to TEMP

                 if (lastkey() = 27)
                      FLreset()
                      cls()
                      quit
                 endif

  Note:     Using FLreset() on an adaptor other than an EGA or VGA
            does nothing. This transparency allows you to use fonts
            without regard to the adaptor in use. Note that FLreset()
            resets the mode if necessary, clears the screen, resets
            all color palettes and homes the cursor to 0,0.


See Also: FONTS FLoad() FLdefine() FLreset()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson