Command.begin() Method

The Command.begin() method starts to activate a command; every call to this method should be balanced with an end() call.

Syntax

command.begin()

Parameters

This function has no parameters.

Return value

No value is returned (i.e.,undefined).

Example

> ident = simulator.findCommand("sim/transponder/transponder_ident")
Command{ name: "sim/transponder/transponder_ident" }
> ident.begin()
undefined
> ident.end()
undefined

References