Navigation:  Classes > bCodeblock >

bCodeblock:Compile()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Compile the source code.

Class

bCodeblock

Type

Method

Syntax

<oCodeblock>:Compile() Æ lSuccess

Return Value

lSuccessA logical value that indicates whether the source code could compiled without errors.
TRUEThe source code was compiled without errors.
FALSEThe 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

bCodeblock:ArgumentList

bCodeblock:ArgumentValues

bCodeblock:Block

bCodeblock:CreateCodeblock()

bCodeblock:ErrorNo

bCodeblock:Expression

bCodeblock:IsCompiled()

bCodeblock:IsValid()

bCodeblock:Server

 


Page url: http://www.YOURSERVER.com/index.html?bcodeblock_compile.htm