Returns the amount of memory available to run an external program.
MEMORY(В ) |
Return Value
Numeric
Remarks
In Visual FoxPro, MEMORY(В ) always returns 640.
MEMORY(В ) is similar to SYS(12), with two exceptions:
-
MEMORY(В ) returns the amount of available memory in kilobytes; SYS(12) returns the amount of memory in bytes.
-
MEMORY(В ) returns a numeric expression. SYS(12) returns its value as a character string.