You can dynamically dimension arrays at runtime
dimension laX[5] && now 5 elements
...
dimension laX[50] && now 50 elements
laX = .f. && fill with false
laX = .null. && fill with nulls
...
dimension laX[reccount()] && don't have to use static values
If you increase the size of the array existing data is preserved. Although this leads to issues when the array is two dimensional.
You can do the same things to object property arrays.
>i want to define new arrays in the run the run time and clear content of the array?.kindly help me in this regard