NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_sysmemorymanager.nxc

This is an example of how to use the SysMemoryManager function along with the MemoryManagerType structure.

task main() {
byte data[];
byte data2[];
int data3[];
int ps, ds;
args.Compact = false;
ArrayInit(data, 10, 3000);
data[10]++;
ps = data[10];
data2 = data;
ArrayBuild(data3, ps, ds, ps, ds, ps, ds, ps, ds);
NumOut(0, LCD_LINE8, data[10]);
NumOut(0, LCD_LINE8, data2[10]);
// while(true);
}