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>fldefine() - define which ega/vga font table to use</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     FLdefine() - define which EGA/VGA font table to use
  Usage:    <logical> = FLdefine(<bit>,<table>)
  Params:   integer <bit> - either a 1 or a 0, this number is used
            to define whether the high intensity bit of the color
            attribute has to be on or off for the table in parameter
            2 to be used. If <bit> is 1, then the high intensity
            bit of the color attribute of the text must be on
            (set to 1) for the font in the specified table to be
            used. If <bit> is 0, then the high intensity bit of
            the color attribute of the text must be off for the
            font in the specified table to be used.

            integer <table> - the table to assign to the bit
            setting defined by parameter 1

  Returns:  logical .T. if font table defined, .F. if not or error

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

                 * Load fonts into table 3 and 4
                 FLlegend(3)
                 FLparkave(4)

                 * set high intensity characters to table 3
                 * set low intensity text to display table 4
                 FLdefine(1,3)
                 FLdefine(0,4)

                 * display the fonts
                 print(10,0,"This is Legend...",15)
                 print(11,0,"This is Park Avenue...",7)

  Note:     If your application is not running on a machine that
            has an EGA or VGA adaptor, FLdefine() exits without
            doing anything.


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

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