Click or drag to resize

HandlerStart Method

Starts a sub.

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

Parameters

args  Object
These argument values are passed by value to the sub (or function). Start always passes arguments by value. A function's return value is not accessible.

Implements

IHandlerStart(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. Start can not be called from language extensions.

Note

Start will not work with a handler that has either Optional or ParamArray parameters.

See Also