Hi,

How do I obtain that the following string array has two elements

        const string[] x = {
                "string1",
                "string2"
        };      

Ofcourse I can do something like

num = 0;

foreach (string y in x) {
   num++;
}
but I'm looking for something to obtain it at once

So something like

num = x.length();

Thanks

Jaap
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to