FREEMEM |
freemem determines the quantity of available memory at a given time.
freemem
# Test if there is enough available memory.
If freemem < 1024
Errbox "Function not possible in the context" End Endif
The freemem function returns the number of bytes not used in memory at a given time. This number corresponds to all buffers that have not been used - whether contiguous or not. .
WARNING: Due to memory fragmentation, you can never be sure of having the space to load an OBJect (a screen of 32K, for example) while the size of the remaining memory is much larger (1024K, for exemple). Therefore, the value returned by freemem is purely indicative.
The result of the function is of the Integer type.
No associated error
|
|