Click or drag to resize

_Codeblock.Eval Method

X#
Executes the codeblock.

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
 VIRTUAL 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.

Implements

Eval(Usual)
See Also