Calls a sub or function.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic void CallPA(
Object?[]? args
)
Public Sub CallPA (
args As Object()
)
public:
virtual void CallPA(
array<Object^>^ args
) sealed
Parameters
- args Object
-
These argument values are passed by reference to the sub (or function).
Implements
IHandlerCallPA(Object)
ExceptionsException | Condition |
---|
Exception | Generic exception during script execution. |
TerminatedException | Script execution terminated. |
Remarks
This method doesn't return until the sub 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.
CallPA can be used at any time, but beware of possible deep
nesting of calls since the
DoEvents event
is called internally.
See Also