Difference between revisions of "ROW()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) (→Products) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to return screen row position | Function to return screen row position | ||
Line 31: | Line 24: | ||
==Products== | ==Products== | ||
− | Recital | + | 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