Creation methods?

BlitzMax Forums/BlitzMax Programming/Creation methods?

Ha!

You can do this:

Type tThing

	Field x,y,z
	
	Method New()
		Notify "Hello!"
	EndMethod
	
	Method Delete()
		Notify "Goodbye!"
	EndMethod

EndType

thing:tthing=New tthing
thing=Null
GCCollect

End