>>Chuck,
>>
>>VFP considers an array as one variable regardless of number of items in it.
>
>Sergey,
>
>That is correct, but arrays are limited to 65,000 elements and the array eats up the ram allocated for variables. The variables are limited by two issue, number of variable names (an array is one name) and the amount of memory the variables take up (which can be exhausted before you reach the number of names).
Jim,
There's no such thing as memory allocated for variables. VFP allocates it dynamically. That's why you can read file more that 16Gb in size into memory using FILETOSTR() function if you've enough memory.
--sb--