Gan:

//Initializing the array
tiles = new SBTile[](0);

This is often useless.


//Clearing the array
tiles = [];

This doesn't "clear" the array, it rebinds it to a null pointer.

Bye,
bearophile

Reply via email to