Purpose
Compile the source code.
Class
Type
Method
Syntax
<oCodeblock>:Compile() Æ lSuccess
Return Value
lSuccess | A logical value that indicates whether the source code could compiled without errors. |
TRUE | The source code was compiled without errors. |
FALSE | The source code could not be compiled without errors. |
Data Type: | Logic |
Description
bCodeblock:Compile() compiles the source code and creates a codeblock that can then be executed with the method bCodeblock:Eval().
Important notes!
Whether the source code was compiled can be checked with the method bCodeblock:IsCompiled(). On this occasion it is to be noted that the method does not check whether compiling was successful. For this the method bCodeblock:IsValid() must be used.
If the source code could not be compiled without errors, the access bCodeblock:ErrorNo contains an error code that gives information about the error.
See Also
Page url: http://www.YOURSERVER.com/index.html?bcodeblock_compile.htm