@peacemaker, yes it works either way.
As I mentined, it must be a problem in B4R because:
1) the whole graphc program works perfectly on the device, so it can't be any limitaitn of the ESP32C3, from the Arduino IDE include use of the big array
2) there is no problem with the big array in the inline C code with or without #CheckArrayBounds = true or false, but I'd expect that as the inline code will just be being sent straight through to the C compiler
3) the out of bound happens at an arnbitary number 49664 (unless there is some meaning to this number) and with #CheckArrayBounds = false, the big array referencing works, but SizeOf doesn't work, i.e.
Public BigArray[115200] as Byte
...
...
...
BigArray[115199] = 123
Log (BigArray[115199]) ' <--- logs 123, so the array must be that big
Log (SizeOf (BigArray)) '<--- logs 49664!!! '
If I'm doing something wrong I'd like to find out as I'm spending hours trying to do this, and if there is simply a limit to the array size or if there is actually a bug in B4R, then I'd just like to know so I can just do this app in C (and to save my sanity as well
)
Thanks for your support.
Dave