>>Just did a
>>LIST MEMORY TO pubvars.txt noconsole
>>
>>and there it was:
>>
>>" 35 variables defined, 31 bytes used"
>>
>>Obviously, some of the variables are using negative bytes; the more of such bytes they use, the more positive bytes are actually freed up. With some wiggling, one may use half the available memory in these negative bytes, and still have all the physical RAM free :).
>>
>>There should be a professional memorial day, the in memory of the day when memory manufacturers went broke... over this finding.
>
>Gee:) Great, so if I define 64K arrays with 64K elements each I would end up with more memory then I have physically installed:)
>
>PS: I assumed you were joking. If not, VFP refers to the bytes used by defined variables, not the variables themselves.
So... 35 variables, 31 bytes used for their definitions? Variable names with negative length, then? ;) Or did you mean only the space used by variables' content - but then, at least a few of them were numeric, using at least 4 bytes (though I think VFP's numbers are in IEEE format, which is 8 bytes). Again, either some of them were using negative bytes, or had negative lengths... or this is a tiny little bug.