[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PCOL()

    PCOL() determines the current column position on the printer, and helps
    keep track of printer column positions within programs.

Syntax

    PCOL()

Returns

    An integer numeric value.

    PCOL() returns a numeric value representing the last column position
    plus one.  For example, if you print a string five characters long
    beginning at column one, a subsequent PCOL() returns six.

    An EJECT resets PCOL() to zero.  If you need to reset the internal
    printer column value without performing an EJECT, use SETPRC().

Usage

    PCOL() helps keep track of printer column position when you want to
    place text on a line relative to other text on the line.

See Also: PROW COL SETPRC ROW
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson