[Vala] Multidimensional arrays



Hello,

How do I create bi-dimensional arrays with rows of different sizes? Like:

''
double[][] arr = new double[2][];
arr[0] = {1, 2, 3};
arr[1] = {1, 2};
''

Thanks.

-- 
http://oproj.tuxfamily.org



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