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>vreplicate() - replicate strings vertically to screen</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     vreplicate() - replicate strings vertically to screen
  Usage:    vreplicate(<row>,<col>,<string>,<num>,[<attrib>])
  Params:   integer <row> - the row to start printing at
            integer <col> - the column to start printing at
            string <string> - the string to replicate
            integer <num> - the number of times to replicate
            the string passed. If negative, the string is replicated
            towards the bottom of the screen. If positive, the string
            is replicated towards the top of the screen
            integer <attrib> - the attribute to use based on FUNCky's
            color attribute notation. Optional, if left off, or -1
            then Clipper's standard foreground color is used.

  Returns:  nothing

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

                 vreplicate(23,0,"   ",10,23)
                 * prints a vertical column, similar to a
                 * bar on a bar graph

                 vreplicate(10,0,"dLESKO",-5)
                 * prints dLESKO 5x at 10,0 going downwards
                 * in Clipper's standard foreground color

  Note:     Vreplicate() will write to the video page or
            virtual screen currently defined by setscreen(). If
            you resize a virtual window with setscreen(), make sure
            your vreplicate() is contained within your maximum
            virtual window coordinates. vreplicate() and areplicate()
            are useful to write quick graphs and logos or special
            shaped boxes.


See Also: areplicate() print() box() setscreen()

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