ROW()
From Recital Documentation Wiki
Revision as of 16:09, 28 October 2009 by Helengeorge (Talk | contribs)
Purpose
Function to return screen row position
Syntax
ROW()
See Also
PROW(), PCOL(), COL(), SCOLS(), SROWS()
Description
The ROW() function returns the current screen row as a number. The current cursor position is updated whenever you issue the @...SAY...GET or MENU TO commands. Normal output using other commands does not have an effect. The main use of the ROW() function is to calculate relative cursor addressing when designing forms and menus. If you have issued the SET DEVICE TO PRINT command, the printer column position is updated rather than the screen column position, see PROW() for details.
Example
@01,01 say "Hello" @row()+1,01 say "World" @row()+1,01 say "This is Recital"
Products
Recital Mirage Server, Recital Terminal Developer