Q1: best way to cleanup types?

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

Thanks Joe, so in that case, this would be OK?


Spritepic = LoadImage("data/gfx/dodgy_graphic.png")

Type SpriteType
	Field graphic
	Field X#
	Field Y#
End Type

For i% = 1 To 100 step 10
	My.SpriteType = New SpriteType	
	My\graphic = Spritepic
	My\X# = 0 + i%
	My\Y# = 0
Next

;stuff

For	My.SpriteType = Each SpriteType	
	Delete My
Next

FreeImage Spritepic




just to be painfully clear and your patience is appreciated...