ROW()

From Recital Documentation Wiki
Revision as of 16:27, 20 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ROW()

Class

Screen Forms


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