Click or drag to resize

PRow Function

X#
-- todo --
Returns the current row number of the printer's print head.

Namespace:  XSharp.VFP
Assembly:  XSharp.VFP (in XSharp.VFP.dll) Version: 2.19
Syntax
 FUNCTION PRow() AS LONG
Request Example View Source

Return Value

Type: Long
Numeric
Remarks
If you issue EJECT, X# resets PRow( ) to 0.
PRow( ) is especially useful for relative addressing of printed text.
Examples
X#
1@ PRow( ), PCol( ) + 12 SAY 'Contact person'
2@ PRow( ), $+12 SAY 'Contact person'
See Also