Okay, so I want to make my own type. I can
Dim something(many) as mytype
The question is how can you, if at all, declare arrays inside of types? So that I have monkey.banana_length(10), for example. I'd hate to declare that array as a global array instead of an array inside a type, or to start using monkey.banana_length1, monkey.banana_length2, and so on...
I've tried this:
type mytype
banana(10) as integer
endtype
And this:
type mytype
dim banana(10) as integer
endtype
So, how could you declare arrays inside of type definitions? Or is this simply something that DarkBasicPro doesn't support?