Hi sivan
My understanding is that what you're suggesting is the standard way to make a resizable array, and I'll use it if I have to.
But I'm looking for the simplest way to initialise a fixed-size array at runtime. I've seen more than one reputable source on standard C use the approach I tried above:
#define MYLENGTH (an integer expression)
var myarray[MYLENGTH];
As this seems to be legal in C it would be helpful to understand why it won't compile in Lite-C.