destroy a type

Blitz3D Forums/Blitz3D Programming/destroy a type

If I have created a group of objects and set them in a type but find I need to destroy all instances in this type so I can either recreate it later with different objects or just junk it to free up a little memory... How?

{{EDIT}} Found it... but there must be a better way than this:
For Button.button_type = Each button_type
	Delete Button
Next

:)
RZ