cancelTimer

Cancel, stop and clean up, a timer with the given ID.

Note:For information aboutcreating a timer function, see installTimer on page 168.

Syntax

ogscript.cancelTimer (Timer ID);

Parameters

Parameter

Type

Required

Description

Timer ID

String

Yes

ID of the timer to stop and clean up.

Returns

N/A

Example

//Stop the timer that was created with installTimer ogscript.cancelTimer('myTimer');