_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()


Back to Table of Contents

Copyright © 2002-2018 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. Click for license .