declare a const array
Modest currently does not allow an array with a const / readonly modifier:
> error: Constants cannot be of composite type.
Background:
I have a model with very large int-arrays containing only constants needed for computation. Because I cannot declare them as const:
-
mcstawrites them in every state of the scheduler gererated with the new--schedulerflag, -
modeswrites them in my traces, -
mostashows them in the global variables section (practically rendering the output useless becausedotcannot handle this).