Type with an Array Field

Blitz3D Forums/Blitz3D Beginners Area/Type with an Array Field

From my (albeit limited) look around, it doesn't appear possible to create a field within a type that is an array, e.g.

Type theType
Field x(50)
End Type


solves nothing, nor does

Type theType
Field x
End Type

a = new TheType
Dim a\x(50)


Can it be done? A number of objects in my game have a list of strings that go with it. Rather than dimension a large number from the beginning and then have to keep track of them, what's object is using what list, what lists are free, etc. I'd like the simpler method of creating the list when the object is created, storing it with all the other fields of the type.

Can it be done?