At 15:02 06/12/2001, Kerry Thompson wrote:
> > I've run some tests, and they don't look good.
Apparently this isn't seen on 100% of the Windows machines, but in every
test I've done since I found the freeBytes function (in whatever version),
it has returned utter rubbish. I've tested on several different
machines/configurations and through Win95a, Win95b, WinMe, WinNT3.51,
WinNT4.0, and Win2000. I didn't bother with Win98 - unless you consider
WinMe close enough.
put baMemoryInfo("ram")
-- 234405888 -- Total amount of RAM installed
put the freeBytes
-- 236342648 -- IMPOSSIBLE!!!
This difference has consistently been my experience. It has absolutely
nothing to do with virtual memory, either. It was reproducable enough that
Gretchen added it to the Quirk List at updateStage.com
the freeBlock has been consistent in all my tests, too. It always returns
the total RAM installed.
put the freeBlock
-- 234405888
Buddy API's baMemoryInfo("free ram") has always returned an accurate figure
(as compared with any other program which provides such information). I see
no use whatsoever for the freeBytes or the freeBlock at this time.
--
Mark A. Boyd
Keep-On-Learnin' :)
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]