[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
MEMSIZE()
Determines size of conventional or extended memory
------------------------------------------------------------------------------
Syntax
MEMSIZE([<lMode>]) --> nMemSize
Argument
<lMode> Designates whether you want to determine the size of the
conventional memory (.F.) or extended memory (.T.). The default value
is conventional memory (.F.).
Returns
MEMSIZE() returns the size (in kBytes) of the designated memory type.
Description
MEMSIZE() determines how much working memory is available on your
system. It determines either the size of the conventional memory
(0 to 640k) or extended memory (above 1 MB).
Note
. This function returns a value determined through the BIOS
(which assumes compatibility).
Examples
. Show size of conventional memory:
? MEMSIZE() // e.g. 512
? MEMSIZE(.F.)
. Show size of extended memory:
? MEMSIZE() // e.g. 384
See Also:
ALLOFREE()*
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson