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.3 . 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(
                          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

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