ObjectList Object
Description
A list of objects. The class is better than a generic collection because it enforces type safety.
Methods
Count
Item
Add
Remove
Clone
Clear
Example
Set ol = CreateObject("Toolsack.ObjectList")
ol.Add CreateObject("Toolsack.Blob")
ol.Add CreateObject("Toolsack.Blob")
ol.Add CreateObject("Toolsack.Blob")
MsgBox "There are " & ol.Count & " items in the list"
MsgBox "the second item is : " & ol(1).Size & " bytes long"
ol.Remove (1)
MsgBox "There are " & ol.Count & " items in the list"
Samples
Articles
We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.