Sorry, I found how to do that: int[] blah = new int[LAST_ELEMENT];
El 29/08/16 a las 23:45, rastersoft escribió: > Hi all: > > I have an enum with several elements, and I need to create an array with > the same number of elements. In C I define a last element with a known > name (eg: "LAST_ELEMENT"), and use "int blah[LAST_ELEMENT];" to create > the array. How can I do that in Vala? > > Thanks. > -- Nos leemos RASTER (Linux user #228804) ras...@rastersoft.com http://www.rastersoft.com _______________________________________________ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list