Q1: best way to cleanup types?

Blitz3D Forums/Blitz3D Beginners Area/Q1: best way to cleanup types?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I wonder what is the best way to cleanup types at the end of their use.

I see this example:

For My.NewType = Each NewType
	Delete My
Next


but what if one of the type fields is a handle for an image?
Should it be deleted with freeimage, or is it sufficient to delete each instance of the type, as above?

thanks