.totalbuffpages R/O Property

Function:

Returns the total amount of memory pages available for buffers (one page = 256 bytes).

Type:

Byte | word

Value Range:

0-255 | 65,535

See Also:

sys.buffalloc, sys.freebuffpages


Details

Calculated as total available variable memory (RAM) in pages minus the number of pages required to store variables for the current project.


Older devices had smaller RAM sizes, so the value returned by this property was of the byte type. On newer devices with larger RAM capacities, this property has the word type. Inspect the property's declaration on the platform you are using to make sure you know its type.


.totalbuffpages R/O Property

Details