[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 evalBlock()
 Evaluate a code block
------------------------------------------------------------------------------
 Prototype

     ERRCODE evalBlock(
                          AREAP wa,
                          ITEM block
                        )

 Arguments

     wa is a pointer to self.

     block is the code block to be evaluated.

 Description

     The evalBlock method evaluates a specified code block.

 Default Behavior

     Evaluates the block specified by the item block, placing the resultant
     item in wa->valResult.  The returned error code indicates success or
     failure.

     Warning!  If block is not a code block, a BASE/1004 "No exported
     method" error is generated.

     Warning!  The item in wa->valResult must be deallocated later.

 Implementation Notes

     .  You should save any global state necessary to your driver that
        might be modified by the evaluated code block (i.e., any CA-Clipper
        code), by calling SUPER_EVALBLOCK().  Restore the state after
        implementing the evalBlock() method.

 Files  Header file is Rdd.api.


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