Returns the current column position of the printer's print head.
PCOL(В ) |
Return Value
Numeric
Remarks
The value PCOL(В ) returns is relative to the current setting of the left printer margin. You can set the left margin with SET MARGIN or by storing a value to the system memory variable _PLOFFSET.
PCOL(В ) is especially useful for relative addressing of printed text.
You can use the $ operator in place of PCOL(В ).
Example
В | Copy Code |
---|---|
CLEAR @ PROW( ), PCOL( )+12 SAY 'Contact person' @ PROW( ), $+12 SAY 'Contact person' |