Re: A89: Matrix Errors


[Prev][Next][Index][Thread]

Re: A89: Matrix Errors




Hi!

| Oh OK that makes sense.  But what is the reason you can initialize a
variable
| 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.

Bye,
Sebastian Reichelt




References: