411 REFERENCE · Wikibooks
Futurebasic/Language/Reference/mem
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
MEM
Syntax
info& = MEM(expr)
Description
Returns information about available heap memory or about an INDEX$ string array. In addition, if you specify the value _maxAvail in expr, the MEM function will force all purgeable resources to be removed from memory.
Specify one of the following values in expr to get information about the application's heap memory:
Specify one of the following values in expr to get information about an INDEX$ string array. In this table, indexID represents the ID number (0 through 9) of the array you're interested in. If the specified INDEX$ array has not yet been initialized (using the CLEAR<index> statement), MEM returns zero for all of the items in this table.
See Also
CLEAR <index>; INDEX$ statement; INDEX$ function