Click or drag to resize

HandlerEvaluate Method

Evaluates a function and return a result.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public Object? Evaluate(
	params Object?[]? args
)

Parameters

args  Object
These argument values are passed by value to the function. Use EvaluatePA to pass values by reference.

Return Value

Object
The value of the expression.

Implements

IHandlerEvaluate(Object)
Exceptions
ExceptionCondition
ExceptionGeneric exception during script execution.
TerminatedExceptionScript execution terminated.
Remarks
This method doesn't return until the function has completed. If it fails to complete it is terminated and an exception is thrown. Execution errors can be reported to the user with the ReportError method.

Evaluate can be used at any time, but beware of possible deep nesting of calls since the DoEvents event is called internally.

See Also