creating named "arrays"

Blitz3D Forums/Blitz3D Beginners Area/creating named "arrays"

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.

You can have an array of types, but i'm sure you have to use blitz arrays. Could be wrong. I'm sure the forums have contained a good number of example on this.

In fact reading over your post i think i'm way off. Can you further explain using what you think would be the way you want it to work, then maybe we can suggest an alternate way?

like:


type waypoint
  field x[10] ; blitz array
  field y[10]
end type

w.waypoint = new waypoint

for loopx = 0 to 10
   for loopy = 0 to 10
      w\x[loopx] = loopx * 10
      w\y[loopy] = loopy * 10
   next
next