Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 601 Bytes

File metadata and controls

31 lines (22 loc) · 601 Bytes

_PColNo

This variable indicates the current output column for output created with ? and ??. It's analogous to the PCOL() function used with @...SAY output.

Usage

_PColNo = nStartColumn

You can set _PCOLNO to start ?? output in a specified column.

Example

SET PRINT TO test.txt
SET PRINT ON

FOR ncnt = 1 TO 20
   _PCOLNO = 2*ncnt
   ?? "Line "+PADL(ncnt,2)
   ?
ENDFOR

SET PRINT OFF
SET PRINT TO
* now examine Test.Txt to see the effect of setting _PCOLNO

See Also

?, ??, PCol()