I have an array inside a formula node whose dimension I would like to assign at run time. I tried the following, where s is an input to the formula node:
N = sizeOfDim(s, 0);
float64 myvariable[N];
But got the error message "formula node: index list expected".
If I say
float64 myvariable[1000];
it works fine, unless I happen to need an array that's bigger than 1000!