Re: [Vala] Small syntax request labeled loops

2008-07-02 Thread Jürg Billeter
On Wed, 2008-07-02 at 10:20 +0300, Arto Karppinen wrote: Why not do it sh(1) style? (continue 2, break 2). I would say that the perl style is a lot clearer about what happens. If you have a lot of loops inside one another, it needs some figuring out which loops happens to be number

Re: [Vala] Small syntax request labeled loops

2008-07-02 Thread Travis Watkins
2008/6/30 Dov Grobgeld [EMAIL PROTECTED]: A small syntax enhancement borrowed from Perl that I would like to see in vala is labeled loops, that can be referenced in continue and break statements. Here is an example: pixels: while(foo) { for (int i=0; i1000; i++) { if (a)