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>compile()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 compile()
 Compile a character expression
------------------------------------------------------------------------------
 Prototype

     ERRCODE compile(
                          AREAP wa,
                          BYTEP cExpr
                       )

 Arguments

     wa is a pointer to self.

     cExpr is the character expression to be compiled.

 Description

     The compile() method compiles a CA-Clipper expression, passed as a
     character string, into a code block.

 Default Behavior

     The compile() macro compiles the character expression cExpr, a null-
     terminated string.

     The returned ERRCODE indicates success or failure.  An item to the
     resulting code block is placed in wa->valResult.

     Warning!  If the expression in cExpr is NULL or larger than the
     legal limit for macro-compiled expressions (in the RDD system, this
     limit is 256 characters), a runtime error is generated.

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

 Implementation Notes

     .  One common reason to subclass the compile() method is to save
        the item held in wa->valResult in case it is needed for some other
        process.

 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