
Re: Slightly Big Arrays == RobotC Not Happy?
Ok, and thanks!
And to answer your response before, yes I see the difference between static (global) and dynamically allocated (local) arrays. We are using a global static array in our main code, very similar to the code in the Struct Array RedFish/BlueFish example I gave above.
So, I thought all of the arrays in ROBOTC were pre-allocated though, because there are no pointers, or heaps, or malloc, or anything like that. If not, how would do they work? Can you then make a dynamically allocated array during run-time with an non-compile-time-defined number of indices? E.G.
I tried, and got a "**Severe*:Constant Expression Expected" error.