Navigation:  Classes > bCodeblock >

bCodeblock:IsValid()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Check whether the source code was compiled without errors.

Class

bCodeblock

Type

Method

Syntax

<oCodeblock>:IsValid([<lNilCheck>]) Æ lSuccess

Arguments

<lNilCheck>A logical value that defines whether the created code block should be checked for the return of a NIL value. Whether the code block returns a valid value can be checked with this verification. The value FALSE is used as default.
Data Type:Logic

Return Value

lSuccessA logical value that indicates whether the source code was compiled without error.
TRUEThe source code was compiled without error.
FALSEThe source code could not be compiled without error.
Data Type:Logic

Description

bCodeblock:IsValid() checks whether the Sourcecode was compiled without errors by the method bCodeblock:Compile(). The method also can optionally check whether a return value of NIL for the created code block is acceptable.

See Also

bCodeblock:Compile()

bCodeblock:Expression

bCodeblock:IsCompiled()

 


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