Another 'Type' problem

Blitz3D Forums/Blitz3D Beginners Area/Another 'Type' problem

you say...

t = first myType ;t points to the first type
t = last myType ;t points to the last type
t = after t ;t now points to the next type
t = before t ;t now points to the previous type

This is intesting, but how if I have a 3d array do I refer to object t(3,4,5) for example if I had...

type myType
field x_pos
field y_pos
field z_pos
end type

for x = 1 to 10
for y = 1 to 10
for z = 1 to 10
m.myType = new myType
m\x_pos = x
m\y_pos = y
m\z_pos = z
next
next
next

How do I now refer to the item at element 3,4,5?

Can it be done, it certainly can in c.