Globals in Types?

BlitzMax Forums/MiniB3D Module/Globals in Types?

Sanctus(Posted 2007) [#1]
Hi!
I'm just sneaking around and looking at how MB3D worsks. I found this intresting piece of cede:
 Type TTexture

	Global tex_list:TList=CreateList()

I didn't knew that globals could be in a type... so could anyone explain a bit how it works?


Sanctus(Posted 2007) [#2]
Dmn... I rushed with the questions...
I found out that globals inside types belong to the type not to the instance.
But if anyone thinks there is more to it pls tell me.
Thx