SYS(12) - Available Memory in Bytes

JavaScript Editor js editor     Web development 

Main Page

Returns the amount of memory below 640K that is available to execute an external program.


Return Value



In Visual FoxPro, SYS(12) always returns 655,360.

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

  • SYS(12) returns the amount of available memory in bytes. MEMORY(В ) returns available memory in kilobytes.

  • SYS(12) returns a character string. MEMORY(В ) returns a numeric value.

See Also

JavaScript Editor js editor     Web development