afanofosc wrote:I will look into adding the ability to check how much RAM is available in a running program to the enhanced NBC/NXC firmware. I'll also look into exposing the "compact memory" option that the firmware has so that it can be executed manually by a running program. It is supposed to do that automatically whenever you try to allocate more memory for an array but it might be worth having the ability to do it on demand.
As the help files state, FreeMemory returns the number of bytes of flash memory that are free.
What do you mean by "compact memory"?
The help file? You mean what comes up when you click on the "?" in BCC? That doesn't work, at least not on this computer. Ok, thanks.
Edited for accuracy.