Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>scroll()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SCROLL()


Syntax:     SCROLL(<expN1>, <expN2>, <expN3>, <expN4>, <expN5>)

Purpose:    To designate a screen region to scroll up, down, or blank
            out.

Arguments:  <expN1...expN4> define the scroll window coordinates in
            the following order:  top, left, bottom, and right.

            <expN5> is the number of rows to scroll.  A number
            greater than zero scrolls up the specified number of rows.
            A value less than zero scrolls down the specified number of
            rows and zero blanks the specified area.

Returns:    There is no return value.

Usage:      SCROLL() is used to emulate windows.  This can be useful for
            defining a list in a specified part of the screen and
            allowing the user to scroll up when at the top of the window
            or down when at the bottom of the screen.

Library:    EXTEND.LIB


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

   The following procedure displays a message string at the bottom of a
   screen region after scrolling the region up one line:

   PROCEDURE DispStat
   PARAMETERS t, r, b, l, mess_str

   SCROLL(t, r, b, l, 1)
   @ b, r SAY mess_str

   RETURN


See Also: @...BOX @...CLEAR @...TO

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