次の方法で共有


MEMORY( ) Function

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.

See Also

Reference

SYS(12) - Available Memory in Bytes

SYS(1001) - Visual FoxPro Memory

Other Resources

Functions