Re: [Vala] how to declare multi-dimensional arrays in Genie?




Isn't this a mono-dimensional array with 2 elements ?

        Xav
Hi,

I'm not an expert nor a "real" developer, but "multidimensional array" seem to be like this:

var myarray = new array of uint64[3, 2] = {{13, 64}, {14, 65}, {15, 66}}
or
myarray : array of uint64[3, 2] = new array of uint64[3, 2] = {{13, 64}, {14, 65}, {15, 66}}

Is this correct ? Someone can confirm ?

Nicolas.





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