IHandlerEvaluatePA Method |
Evaluates a function and return a result.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
SyntaxObject EvaluatePA(
Object[] args
)
Function EvaluatePA (
args As Object()
) As Object
Object^ EvaluatePA(
array<Object^>^ args
)
Parameters
- args Object
-
These argument values are passed by reference to the function.
Return Value
Object
The value of the expression.
ExceptionsException | Condition |
---|
Exception | Generic exception during script execution. |
TerminatedException | Script 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.
EvaluatePA can be used at any time, but beware of possible deep
nesting of calls since the
DoEvents event
is called internally.
See Also