Re: [Vala] How to initialize a Matrix



On Thu, 2008-05-15 at 02:20 -0300, Matías De la Puente wrote:
hello all,

i try to initialize a simple matrix:

int[,] matrix = new int[,] { {1, 3}, {4, 8} };

We don't support initializers for multi-dimensional arrays right now,
however, we certainly want to support it in future versions. Feel free
to file a bug so we don't forget about it.

Juerg




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]