GetObjects -- get all objects of specified type (V5.1)
table, count = GetObjects(type)
This function can be used to retrieve a list of all objects of the specified type
that are currently in memory. This function will return a table containing the
identifiers of the objects as well as the total number of objects of the specified
See Object types for a list of all object types.
- return objects of this type
- a table containing identifiers of all objects of the specified type
- number of items in the table
t, c = GetObjects(#BRUSH)
For Local k = 0 To c - 1 Do DebugPrint(t[k])
The code above will list all objects of type
#BRUSH currently in memory.