Difference between revisions of "ROW()"

From Recital Documentation Wiki
Jump to: navigation, search
(Products)
 
Line 24: Line 24:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 15:24, 7 December 2009

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