On Thursday 21 November 2013 09:50:30 Michael Schnell wrote:
> On 11/21/2013 12:42 AM, Sieghard wrote:
> > That's a rather silly statement.
> >
> > Can you describe an implementation of a jump table mechanism using
> > non-constant positions for its entries?
>
> If or if not jump tables are used is up to the compiler. A case _syntax_
> easily can be done with non-constants. Regarding the _language_ it's
> nothing but an not necessary restriction to disallow them.
>
IMO in 'case' statement it should be guaranteed that semantic is independent 
of order of items. With variable case labels this is not possible.

Martin

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to