Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>memsize()</b> http://www.X-Hacker.org [<<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()*

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson