Click or drag to resize

Codeblock.Eval Method

X#
Executes the codeblock.

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 ABSTRACT METHOD Eval(
	args PARAMS USUAL[]
) AS USUAL
Request Example View Source

Parameters

args
Type: Usual
Zero or more arguments to pass to the codeblock.

Return Value

Type: Usual
The value of the last expression within the codeblock as a USUAL. If the last expression in the codeblock is of type VOID, then the codeblock returns NIL.
Remarks
This method is abstract and is implemented in the derived classes created by the compiler.
See Also