According to the tutorial[1], the declaration doesn't appear to contain the size, only the dimension.
float matrix[,];
The size appears to be specified during assignment. float matrix[,] = new float[3,3]; 1: https://wiki.gnome.org/Projects/Vala/Tutorial#Arrays On Tue, 2017-06-20 at 10:50 -0700, Ivan Trombley wrote:
Can anyone tell me how I can declare a fixed size multidimensional
array? Trying this just gives me an error:
float matrix[3, 3];
error: syntax error, expected `]'
float matrix[3, 3];
^
This is using valac 0.34.8 BTW.
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-listAttachment:
signature.asc
Description: This is a digitally signed message part