Arrays of types

Blitz3D Forums/Blitz3D Beginners Area/Arrays of types

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Type MyType
field x
field y
field z
end type
Dim Point.MyType(Array Dimensions)
For i=0 to Array Dimensions
Point(i)=new MyType
next

Then to refer to a particular field:

Point(Array Index)\X=....