On Tue, 2010-04-20 at 14:55 +0200, JM wrote:
> > public static int main() {
> > var y = new Matrix({{ 2.0, 3.0, 4.0, 5.0},
> > { 2.0, 3.0, 4.0, 6.0},
> > { 2.0, 3.0, 4.0, 7.0},
> > { 2.0, 3.0, 4.0, 8.0}});
> > print("get element: %lf\n", y.mat[2,3]);
> > return 0;
> > }If I understand Michele correctly, he doesn't want to use a dynamically created array, so his syntax is correct. I don't think vala supports multidimensional static arrays yet. As for inline, I assume its a planned feature. Sam
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
