JavaScript Editor js editor     Web development 

Main Page

Returns the current row number of the printer's print head.


Return Value



If you issue EJECT, Visual FoxPro resets PROW(В ) to 0.

PROW(В ) is especially useful for relative addressing of printed text.


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'

See Also

JavaScript Editor js editor     Web development