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>evalblock()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 evalBlock()
 Evaluate a code block
------------------------------------------------------------------------------
 Prototype

     ERRCODE evalBlock(
                        WORKAREAP wa,
                        ITEM block
                      )

 Arguments

     wa is a pointer to self.

     block is the code block to be evaluated.

 Description

     Evaluates a specified code block.

 Default Behavior

     Evaluates the block specified by the Item block, placing the resultant
     Item in wa->result.  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->result 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 SUPEREVALBLOCK().  Restore the state after
        implementing the evalBlock() method.

 Files:  Header file is Rdd.api.


See Also: WORKAREA

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