loading multiple mesh's with one comand

Blitz3D Forums/Blitz3D Programming/loading multiple mesh's with one comand

Arrays are much simpler than types, look at my first example:

dim mesh(5)

for n=0 to 5
mesh(n) = loadmesh("meshname_"+n+".b3d")
next

Then you just have mesh(0) mesh(1) mesh(2) etc.