Arrays of types

Blitz3D Forums/Blitz3D Beginners Area/Arrays of types

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, 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=....