Re: A89: Matrix Errors


Re: A89: Matrix Errors


| Oh OK that makes sense.  But what is the reason you can initialize a
| with the value of an array?

This is not the only problem.  In fact a more general explanation is that
neither lvl nor your matrix are constant; therefore you can't use them in
the initialization of another variable.  To make them constant, use #define
instead, or maybe the 'const' attribute will work as well.  But then you
can't change the values, of course.

Sebastian Reichelt