Click or drag to resize

HandlerStartPA Method

Starts a sub.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public void StartPA(
	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.

Implements

IHandlerStartPA(Object)
Exceptions
ExceptionCondition
ExceptionGeneric exception during script execution.
TerminatedExceptionScript 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