BYTES_FREE

Syntax

memory = BYTESFREE

Location

DJToolkit 1.16

This simple function returns the amount of memory known by the system to be free. The answer is returned in bytes, see also KBYTES_FREE. For the technically minded, the free memory is considered to be that between the addresses held in the system variables SV_FREE and SV_BASIC.

EXAMPLE

...
2500 freeMemory = BYTES_FREE
2510 IF freeMemory < 32 * 1024 THEN
2520    REMark Do something here if not enough memory left...
2530 END IF
...

CROSS-REFERENCE

KBYTES_FREE.