Changing the size of an Array during runtime in PSoC Creator

Question: Is it possible to change the size of a RAM array during runtime?  For example in the code below I would like to have the size of intArray to be based on the value stored in the variable arrayLength.  uint8 arrayLength = 5;  uint16 intArray[arrayLength];

 

Answer:

Unfortunately, it is not possible to have the length of an array defined during run time.  The length of an array should be defined during build and should be a constant.