147
The File System keeps user data in SRAM, which is maintained by the backup battery.
However, data loss may occur during low battery condition or when the battery is drained.
It is necessary to upload data to a host computer before putting away the mobile
computer.
FREE_MEMORY
Purpose To get the size of free data memory (SRAM) in bytes.
Syntax A& = FREE_MEMORY
Remarks “A&” is a long integer variable to be assigned to the result.
Example
PRINT “Free memory = ”, FREE_MEMORY
See Also MEMORY_INFORMATION(3)
RAM_SIZE
Purpose To get the size of the whole data memory (SRAM) in kilobytes.
Syntax A% = RAM_SIZE
Remarks “A%” is an integer variable to be assigned to the result.
Example
PRINT “SRAM size = ”, RAM_SIZE
See Also MEMORY_INFORMATION(1)