Returns the current row number of the printer's print head.
PROW(В ) |
Return Value
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.
В | Copy Code |
---|---|
@ PROW( ), PCOL( ) + 12 SAY 'Contact person' @ PROW( ), $+12 SAY 'Contact person' |