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>scroll() - scroll a portion of the screen up or down</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     scroll() - scroll a portion of the screen up or down
  Usage:    scroll(<row>,<col>,<row2>,<col2>,<rows>,[<attrib>],[<char>])
  Params:   integer <row>  - the top row
            integer <col>  - the left column
            integer <row2> - the bottom row
            integer <col2> - the right column

            integer <rows> - the number of rows to scroll. If this
            number is 0, then the entire area is cleared. If this
            number is negative, then the area is scrolled down
            If the number is positive, then the area is scrolled up.

            integer <attrib> - the color attribute to use for the
            scrolled area, the inserted rows will have this color.
            If this parameter is left off or is -1 then Clipper's
            standard foreground color is used.

            string <char> - the character to use as the fill character
            in the new lines. Optional, if left off then a space is
            used. Useful to clear an area to a specified character.

  Returns:  nothing

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

                 scroll(10,10,20,70,0)
                 * clears the screen at 10,10,20,70

                 scroll(10,10,20,70,-1)
                 * scrolls the screen 1 row downward

                 scroll(10,10,20,70,3)
                 * scrolls the screen 3 rows upward

            Using setscreen(), you can scroll() the screen in a virtual
            window or screen.


See Also: scroll() setattr() box() cls() shift() palette()

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