Name EnableTimer
Type Method
Summary Enables or disables an timer
Prototype long EnableTimer(BSTR TimerName, BOOL Enabled);
Description Enables or disables the named timer. An enabled timer is "active", otherwise it is ignored when processing periodic events.
VBscript example
World.EnableTimer "heartbeat", TRUE
Jscript example
world.EnableTimer("heartbeat", true);
PerlScript example
$world->EnableTimer("heartbeat", true);
Returns eInvalidObjectLabel: The timer name is not valid
eTimerNotFound: The named timer does not exist
eOK: completed OK

See also ...