Navigation:  Classes > bCodeblock >

bCodeblock:Eval()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Evaluates the codeblock.

Class

bCodeblock

Type

Method

Syntax

<oCodeblock>:Eval() Æ uResult

Return Value

uResultThe return value of the evaluated code block.
Data Type:Usual

Description

bCodeblock:Eval() evaluates the codeblock and returns the result.

 

The source code must have been compiled without errors beforehand. Whether the source code was compiled can be checked with the method bCodeblock:IsCompiled(). Whether the source code was compiled also without errors can be checked with the method bCodeblock:IsValid().

See Also

bCodeblock:Block

bCodeblock:Compile()

bCodeblock:Expression

bCodeblock:IsCompiled()

bCodeblock:IsValid()

 


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