>Sergey is correct, as always. :)Thanks, I guess. :)
>But for character data, we should mention that there is another option in VFP7. You can use the ALINES function, with a parsechar, to fill your array:
>>ALINES(_array, "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",.f., ",")
>
It's cool but put in the code w/o comment could stump someone reading that code later.
It would be better if MS implemented some better way to accomplish that. It could be ASTORE() function with syntax as follow.
ASTORE(ArrayName, nStartElement, eExpression [, eExpression, ...)
Where, nStartElement - Specifies the element number at which the population begins.
For, example
ASTORE(_array,1, "Jan","Feb","Mar","Apr","May","Jun","Jul", "Aug","Sep", "Oct","Nov","Dec")
ASTORE(_array,1, 1, 2, 3)
Just my $.02. :)
--sb--