Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Negative bytes?
Message
From
03/06/2008 05:41:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/06/2008 13:47:04
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
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:
01321235
Views:
12
>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.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform