[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SETRC()
 Sets line and column for the CA-Clipper cursor
------------------------------------------------------------------------------
 Syntax

     SETRC([<nRow>], [<nColumn>]) --> cNull

 Arguments

     <nRow>  Designates the new cursor line.  The default is the current
     BIOS line.

     <nColumn>  Designates the new cursor column.  The default is the
     current BIOS column.

 Returns

     SETRC() always returns a null string.

 Description

     This function resets the internal value that CA-Clipper returns for the
     current ROW() line and COL() column.  The cursor automatically moves to
     this new location at the same time.  When output is not through
     CA-Clipper, the CA-Clipper internal values for ROW() and COL() may
     deviate from the actual position returned in the BIOS.  If you implement
     SETRC without a parameter, then the position returned from the BIOS is
     set within CA-Clipper.

 Note

     .  Negative values or those too large for the line or column, are
        corrected automatically.

 Examples

     .  Set the BIOS line and column in CA-Clipper and display:

        SETRC()
        ? ROW(), COL()

     .  The BIOS line and the CA-Clipper column are used:

        SETRC(, COL())
        ? ROW(), COL()

     .  The CA-Clipper line and the BIOS column are used:

        SETRC( ROW())
        ? ROW(), COL()


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson