Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the current row number of the printer's print head.
PROW( )
Return Values
Numeric
Remarks
If you issue EJECT, Visual FoxPro resets PROW( ) to 0.
PROW( ) is especially useful for relative addressing of printed text.
Example
In the following example, the two commands return the same result. You can use the $ operator in place of PCOL( ). Both $ and PCOL( ) return the current column position of the printer.
@ PROW( ), PCOL( ) + 12 SAY 'Contact person'
@ PROW( ), $+12 SAY 'Contact person'