An Array of Types

BlitzMax Forums/BlitzMax Programming/An Array of Types

As all of you know, in Blitz its possible to use arrays.

Doesn't it work with types? I have written the following code and the size of the resized array is always 0:


Type MyType
	Field x
	Field y
End Type

Local a:MyType[200]

count=0
For Local b:MyType = EachIn a
	count=count+1
Next
DebugLog "Size: "+count
End