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>row()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ROW()


Syntax:     ROW()

Purpose:    To return the current row position of the cursor on the
            screen.

Returns:    An integer numeric value.

            ROW() returns the current row position of the cursor
            beginning with zero as the first screen row.

Usage:      ROW() is useful when you use relative addressing within a
            program for cursor positioning.  For example, the statement

            @ ROW() + 5, 1 SAY SPACE(0)

            positions the cursor five rows below its current location.

Library:    CLIPPER.LIB


----------------------------------- Examples -------------------------------

   @ 1, 1 SAY "this is line"
   @ ROW(), COL() + 1 SAY "one"
   @ ROW() + 1, 1 SAY "this is line two"

   Results:

   this is line one
   this is line two


See Also: COL() PCOL() PROW()

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