Using Director > Parent Scripts > Creating timeout objects > Using timeOutList |
![]() ![]() ![]() |
Using timeOutList
When you begin creating timeout objects, you can use timeOutList
to check the number of timeout objects that are active at a particular moment.
The following statement sets the variable x
to the number of objects in timeOutList
. See count()
.
x = (the timeOutList).count
You can also refer to an individual timeout object by its number in the list.
The following statement deletes the second timeout object in timeOutList
. See forget()
.
timeOut(2).forget
![]() ![]() ![]() |