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

Syntax:     WSTEP() ([<expN1>,<expN2>])

Arguments:  <expN1> Denotes the vertical increment by which a window
            will be shifted interactiely.
            <expN2> Denotes the horizontal increment by which a window
            will be shifted interactiely.

Returns:    A numeric value.
            The function will return a -1 when an error occurs, otherwise 0
            will be returned.

Usage:      WSTEP() can be used to set the increment for all windows
            by which a window is shifted when a key is struck once.
            It can be set seperately for the vertical and the horizontal
            movement.

Note:       This function will only work when all windows are closed.
            The initial setting is for two lines for the vertical and five
            columns for the horizontal increments.  The maximum value is
            six vertical and 20 horizontal.  If the arguments are to large
            they will set to the largest allowable size.

Library:    CT1.LIB


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

Examples:   WSTEP(1, 3)


            *   The selected window will now be shifted by one line
            *   verticaly with the increment of 1, and horizontally
            *   with increment 3 when the cursor keys are used.



See Also: WACLOSE() WSETMOVE()

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