Need help with []

BlitzMax Forums/BlitzMax Beginners Area/Need help with []

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.

Global MyVar:Basic[100]

For Local a:Int = 0 To Len(MyVar)-1
	MyVar[a] = New Basic
Next

MyVar[0].x = 1000
MyVar[50].z = 25

Type Basic
     Field x#,y#,z#
End Type