Reading tabled data

BlitzMax Forums/BlitzMax Beginners Area/Reading tabled data

[edit] DOH! Not what you asked :D

Something like this, might work:
Const MAXRECORDS = 100

Type Data
 Field name:String
 Field age:Int
 Field height:Int

 Method WhoIs()
  Print "Name: "+self.name+", Age: "+self.age+", Height: "+self.height+"cm"
 EndMethod
EndType

Local users:Data[MAXRECORDS]
For Local i = 0 Until MAXRECORDS
  users[i] = New Data
  users[i].name   = "Bob "+i
  users[i].age    = Rand(0,100)
  users[i].height = Rand(100,200)
Next

users[10].WhoIs()
users[45].WhoIs()
users[89].WhoIs()
You wouldn't need a max number of records, as you can easily resize the array if you need to.