Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Negative bytes?
Message
From
03/06/2008 18:15:40
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
03/06/2008 05:41:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01321080
Message ID:
01321451
Views:
11
>>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform