Using Array for a class

I have a class which name is alertim and i want to keep them in an array.
I am tring to use Arraydw but it is not working.How can i use arrays with classes.And how can i destroye all of them.Thanks all…

I think you need to take a look at the OwnedArray class instead.