Re: [Vala] Request for new keyword "nobreak"
- From: Sam Wilson <tecywiz121 hotmail com>
- To: "Nelson, Jim" <jim yorba org>, Flemming Richter Mikkelsen <frm member fsf org>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Request for new keyword "nobreak"
- Date: Thu, 24 Jan 2013 16:20:42 -0500
Why not something like continue?
"Nelson, Jim" <jim yorba org> wrote:
Apparently this is possible in C# with the "goto case <label>" syntax:
http://stackoverflow.com/questions/174155/switch-statement-fallthrough-in-c
Doesn't work in Vala, however.
I'm not advocating for switch-case fallthrough, but C# was able to
provide it without reserving another keyword.
-- Jim
On Thu, Jan 24, 2013 at 11:34 AM, Flemming Richter Mikkelsen
<frm member fsf org> wrote:
Hello.
I am new to this list. Please let me know if I post in the wrong place.
A long time ago I tried case fallthrough in Vala.
It didn't work as in C, so I wrote that special code in C and the rest
in
Vala.
In stead of forbidding case fallthrough all together, I believe a good
compromise would be to implement a new keyword, nobreak, solely for
this
purpose.
Any ideas?
------------------------------------------------------------------------
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]