Read memory information.
Read the current pool size and dataspace size. Optionally compact the dataspace before returning the information. Running programs have a maximum of 32k bytes of memory available. The amount of free RAM can be calculated by subtracting the value returned by this function from POOL_MAX_SIZE.
- Warning:
- This function requires the enhanced NBC/NXC firmware version 1.28+.
- Parameters:
-
| _Compact | A boolean value indicating whether to compact the dataspace or not. |
| _PoolSize | The current pool size. |
| _DataspaceSize | The current dataspace size. |
| _Result | The function call result. It will be NO_ERR if the compact operation is not performed. Otherwise it will be the result of the compact operation. |