Number of instances of a type

Blitz3D Forums/Blitz3D Beginners Area/Number of instances of a type

Why waste time looping. Just use a Global variable to keep track and add 1 when using New and subtract 1 when using Delete. That's what an internal type counter would do anyways.