Hello I have a struct like this
public struct Lattice { public Parameter a; public Parameter b; public Parameter c; public Parameter alpha; public Parameter beta; public Parameter gamma; } the Parameter is also a struct with only a doubles. So I try to create a default struct for the Lattice public static Lattice default = { {1.0}, {1.0}, {1.0}, {90.}, {90.}, {90.} }; but vala complaine saying hkl-lattice.vala:1.49-1.49: error: syntax error, expected identifier public static Lattice default = { ^ how can I create a static Lattice and use it in other classes ? Thanks Frederic _______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list