HI Patrick,
>question: when you reduce the array length via the DIMENSION
>statement, is that memory freed up as effectively as
>if i RELEASE the array entirely and recreate it ?
VFP uses a handle based memory which can be moved around if needed. Therefore memory fragmentation is not a big issue in VFP. From the amount of memory allocated, it doesn't make a difference if you RELEASE or DIMENSION. Performancewise I haven't tested this, but I'd guess that DIMENSION is faster. We talk about times here that are insignificant for most applications, though. If you fear that you might run into performance issue due to memory fragmentation, you can force a garbage collection with SYS(1104).
Christof
--
Christof