Can I read a single value from an array?

BlitzMax Forums/BlitzMax Beginners Area/Can I read a single value from an array?

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.

Arrays in Blitzmax are not 1 element more.
Type Test
 Field x, y
End Type

Global MyType:Test[101] 

For l = 0 To 100
  MyType[l]  = New Test
  MyType[l].x = Rand(10)
  MyType[i].y = Rand(10)
Next