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.
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.