Re: New switch/case idea
- Posted by bernie Mar 31, 2009
- 1849 views
How about single colon for continue and double colon for break.
The single colon would fall through. When the parser encounters a double colon it would continue until it saw the next case keyword.
This would be easier to parse and eliminates a lot of typing and extra wording and keeps it simple in the Euphoria tradition.