types ???

Blitz3D Forums/Blitz3D Programming/types ???

here.

http://mtwirefree.net/kbilling/DynamicDataStructures.zip

there's your dynamic array.

now to use types with it, there's an extra step. to put a type into the array, you use Handle():

v.m=New m
ArraySetValue a,0,Handle(v)

then, to convert from a handle back to a type pointer, you use Object.<type>():

ma.m=Object.m(ArrayGetValue(a,0))

there you go.

be sure to read the docs with it as well.