Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_gmode()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_GMODE()


Syntax:        L_GMODE([<expN>])


Purpose:       To set the screen to a different video mode or to
               return the current mode.


Arguments:     <expN> is the number of the mode to which the screen
               will be set.

               If no parameter is passed then the current video mode
               will be returned.


Returns:       The current video mode as an integer if no parameters
               passed.



Usage:         Used when setting the screen to a graphics mode for use
               with graphics or graph functions or when returning to
               text mode.


Examples:      ? L_GMODE()                      && Result: 3
               L_GMODE(4)                       && Sets screen to mode 4


Language:      C

See Also: L_CIRCLE() L_CIRCLF() L_BOX() L_BOXFIL() L_GRID()

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