Name GetTimerList
Type Method
Summary Gets the list of timers
Prototype VARIANT GetTimerList();
Description Returns an array of all the named timers currently defined. You can then use GetTimer or GetTimerInfo for more details about each one.
VBscript example
dim timerList

timerList = World.GetTimerList

If Not IsEmpty (timerList) then

   For Each t In timerList
     world.Note t 
   next

End If
Jscript example
timerlist = new VBArray(world.GetTimerList()).toArray();

if (timerlist)  // if not empty
 for (i = 0; i < timerlist.length; i++)
   world.note(timerlist [i]);
PerlScript example
foreach $item (Win32::OLE::in ($world->GetTimerList))
 {
 $world->note($item);
 }
Returns If there are no timers (with names) then the return value is empty. Use "IsEmpty" to test for this possibility.

Otherwise, it returns a variant array containing the names of all the timers. Use "ubound" to find the number of timers in the list.

See also ...