Question about Types

BlitzMax Forums/BlitzMax Beginners Area/Question about Types

I don't get this about Types. When I create a type with some fields, like that:

Type Score 
	Field Score_x
	Field Score_y
End Type 


And I create a Type later on...

b = New Score 
b.Score_x = 25 


I get the error "Identifiere Score_x not foun". Shouldn't fields not be global like in Blitz3d??? I don't get it...

And how can I go trough all my types? EachIn seems not to work.

Thanks for your help