Difference between revisions of "PROW()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Printing
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return printer row position function
 
Function to return printer row position function
Line 30: Line 26:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Printing]]
 
[[Category:Printing]]
 
[[Category:Printing Functions]]
 
[[Category:Printing Functions]]

Latest revision as of 15:01, 7 December 2009

Purpose

Function to return printer row position function


Syntax

PROW()


See Also

COL(), DB_PRINT, PCOL(), ROW(), SROWS(), SCOLS(), SET CONSOLE, SET DEVICE, SET PRINT, SET PRINTER, SET SCREENMAP, SETPRC()


Description

The PROW() function returns the current row position of the printer. The current print position is updated whenever you issue @...SAY commands. Normal output using other commands does not have an effect. The main use of the PROW() function is to calculate relative row addressing when designing formatted reports for output to the printer. The SET DEVICE TO PRINT command must be in effect for the print column position to be tracked.


Example

set print on
set device to print
@0,0 say "Line one"
@prow()+1,1 say "Line two"
@prow()+2,1 say "Line three"


Products

Recital, Recital Server