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 5.2 . Technical Reference - <b>dbscopeinfo</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DBSCOPEINFO
 References to all of the CA-Clipper Xbase-style scope clause expressions
------------------------------------------------------------------------------
 Structure

     typedef struct
     {
        ITEM bFor;
        ITEM cFor;
        ITEM bWhile;
        ITEM cWhile;
        ITEM nNext;
        ITEM nRecord;
        ITEM lRest;
     } DBSCOPEINFO;
     
     typedef DBSCOPEINFO far * DBSCOPEINFOP;

 Elements

     bFor / cFor

        Contain a code block and a character expression, respectively,
        representing the conditional FOR clause.  FOR expressions are,
        essentially, filters that hide rows (records) for which they evaluate
        to FALSE.  The character value is provided for storage, while the
        code block is provided as a parameter for the evalBlock() method.

     bWhile / cWhile

        Contain a code block and a character expression, respectively,
        representing the conditional WHILE clause.  WHILE clauses permit
        continuation of a process that steps through rows until its
        expression evaluates to FALSE.  The character value is provided for
        storage, while the code block is provided as a parameter for the
        evalBlock() method.

     nNext

        Contains a numeric value representing the CA-Clipper-level NEXT nNext
        scoping clause.  This permits continuation of a process for the NEXT
        nNext rows, while obeying FOR and WHILE clauses.

     nRecord

        Contains a numeric value representing the CA-Clipper-level RECORD
        nRecord scoping clause.  This permits continuation of a process for a
        single record, while obeying FOR and WHILE clauses.

     lRest

        Contains a CA-Clipper-level boolean value that is set to TRUE if a
        process should continue stepping through data from the current
        workarea cursor position until logical end of file.

     Warning!  You should perform code block evaluations with great
     caution.  Save any states that are likely to change as a result of
     re-entrance, so you can restore them after the code evaluation.

 Files:  Header file is Rdd.api.

 Used by:   DBEVALINFO, DBTRANSINFO, WORKAREA, setLocate()


See Also: DBEVALINFO DBTRANSINFO WORKAREA setLocate()

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