Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>say_fixed()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SAY_FIXED()
   Prints text on the screen without proportional spacing.

   Syntax
         nCharacters = SAY_FIXED(nRow,nColumn,nFontHandle,nFgColor,nBgColor,
                                 cText)

   Arguments
         nRow        The horizontal screen position.
         nColumn     The vertical screen position.
         nFontHandle The font handle number.
         nFgColor    The foreground color for the text.
         nBgColor    The background color for the text.
         cText       The text string to be printed to screen.

   Returns
         nCharacters = SAY_FIXED(@nRow,@nColumn,nFontHandle)

   Description
         The purpose of SAY_FIXED() is to print text on the screen similar
         to the Clipper text screen where the proportional spacing is
         removed and the the screen is addressed as rows and columns rather
         than pixels.

         If you pass three parameters to SAY_FIXED() where the first two are
         passed by reference, then the number of rows and columns will be
         returned in the reference variables nRow and nCol. So, if you use
         an 8x14 font with an EGA screen, you will get 80 columns by 25
         rows. However, if you use a much larger size font, then the number
         of rows and columns will be much less. By passing the first two
         parameters by reference, this function will be able to load those
         two variables with the actual number of rows and columns that can
         be used on the screen with that font.

         The width of fixed space is set by the width of the letter 'A'
         (ascii 65) in the font. The key letter used to set the width can be
         changed by passing an ascii number as the fourth parameter in the
         SAY_FIXED() function.

   Examples

               SAY_FIXED(@nRow, @nColumn, FontHandle, ASC(77))

See Also: RC_POS() SAY_FMT() SAY_TEXT()

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