Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>putr() miscellaneous function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  PUTR()                                              Miscellaneous Function
 Purpose..: Right justify a string
-------------------------------------------------------------------------------
 Syntax...: PutR( <cTxt>, <nTR>, <nL>, <nR>, <uClr> ) --> NIL

 Arguments: <cTxt>    = window text to be displayed.
            <nTR>     = row on which to right justify text.
            <nL>      = left column.
            <nR>      = right column.
            <uClr>    = The attribute value or color string to set.
                        The formula is ...nFore + ( nBack * 16 ).

 Returns..: NIL

 Source...: PUT.C
-------------------------------------------------------------------------------
 Example..: . The example displays the text
              on the sixth row in red on white.

        PutR( "Is there a diskette in the drive?", 6, 3, 39, "R/W" )

            . The example displays the text in blue on cyan.

        PutR( "Specify files to be installed", 4, 5, 51, "B/BG" )

See Also: wSay() wPutR() wPutL() PutC()

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