Discussion about the ZBasic language including the System Library. If you're not sure where to post your message, do it here. However, do not make test posts here; that's the purpose of the Sandbox.
Error: statically allocated variables consume all available RAM, see 'Option HeapSize'
It works fine with a ZX24e or ZX24a device, or with the 2.3.10 compiler. The original problem copied byte arrays but I used a single byte to highlight the problem.
BTW It took me 15 minutes to gradually cut code out of my larger program to isolate this problem. It is worth the effort to give Don a very simple testcase that he can use to recreate the problem.