Robin, for one, is always talking about dynamic arrays and I was wondering if somebody could shed some light on it for me. I could probably Google it I guess but thought it would be easier if I got a Mirage example/explanation. Thanks.
That's really confusing how VB6 arrays start from one and not zero =/
VB6 arrays do start from zero. They only start from a different value if specified.
I prefer to start my arrays at 2.
isn't dynamic arrays just Normal arrays being redimed AS a bigger variable?
EXAMPLE
ReDim Map.Tile(0 To Map.MaxX, 0 To Map.MaxY)
Yeah.
ReDim clears out the whole array. ReDim Preserve doesn't clear the array out.