PRB: MEMORY() and MEMORY(0) Don't Return Same ValueLast reviewed: June 28, 1995Article ID: Q112474 |
The information in this article applies to:
- Microsoft FoxPro for Windows, versions 2.6 - Microsoft FoxPro for MS-DOS, versions 2.6
SYMPTOMSThe MEMORY() and MEMORY(0) functions do not return the same value in Microsoft FoxPro version 2.6. However, these functions do return the same value in dBASE. NOTE: The return values are not affected by the setting of COMPATIBLE.
MORE INFORMATIONIn dBASE IV, both MEMORY() and MEMORY(0) return the amount of available RAM on the system. In FoxPro, MEMORY() returns the amount of memory below 640K that is available to RUN an external program. This is similar to the SYS(12) function in FoxPro. There is no true equivalent in FoxPro for the dBASE functions.
Steps to Reproduce BehaviorType the following lines in the Command window:
SET COMPATIBLE ON ?MEMORY()=MEMORY(0) && This displays the value .F. |
Additional reference words: FoxDos FoxWin 2.60
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |