[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|             SYS(12)             |
+---------------------------------+

-----------------------------------
Returns amount of memory below 640KB which is available to RUN an
external program.
Return value - Character
-----------------------------------

SYS(12) returns the amount of memory below 640KB which is available to
RUN an external program.  Any available expanded memory is not included
in the value returned by this function, and the value will vary
throughout a FoxPro session.

SYS(12) is similar to MEMORY() with two exceptions:

. SYS(12) returns the amount of available memory in bytes as opposed to
MEMORY()'s kilobytes.

. SYS(12) returns a character string, as opposed to MEMORY() which
returns a numeric value.

+---------------------------------+
|            Examples             |
+---------------------------------+
? SYS(12)

? VAL(SYS(12))/1024

-----------------------------------

See Also:  MEMORY(), RUN | !, SYS(), SYS(23) EMS memory available,
SYS(24) EMS memory limit, SYS(1001) FoxPro's memory, SYS(1016) User
alloc. memory

-----------------------------------

See Also: MEMORY() RUN | ! SYS() SYS(23) EMS memory available
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson