Purpose
Check whether the source code was compiled without errors.
Class
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
lSuccess | A logical value that indicates whether the source code was compiled without error. |
TRUE | The source code was compiled without error. |
FALSE | The 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
Page url: http://www.YOURSERVER.com/index.html?bcodeblock_isvalid.htm