Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>setrc()</b> http://www.X-Hacker.org [<<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()


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson