Starts a sub.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxvoid StartPA(
Object[] args
)
Sub StartPA (
args As Object()
)
void StartPA(
array<Object^>^ args
)
Parameters
- args Object
-
These argument values are passed by value to the sub (or function).
StartPA always passes arguments by value.
A function's return value is not accessible.
ExceptionsException | Condition |
---|
Exception | Generic exception during script execution. |
TerminatedException | Script execution terminated. |
Remarks
This method returns immediately after the sub is started.
Arguments are always passed by value.
If it fails to start an exception is thrown.
Run-time errors put WinWrap Basic in a errorhalt mode which can only
be reset by halting execution.
StartPA can not be called from language extensions.
Note
StartPA will not work with a handler that has either Optional or
ParamArray parameters.
See Also