P
Paul N
If I'm within a switch, then saying "case 10:" creates a sort of
label. Is it possible to jump directly to one of these, eg "goto case
12;"? I realise this can be done by adding a "normal" label next to
the "case" label, and that it might be possible to arrange a similar
thing by cunning use of fall-through or by changing the variable and
executing the switch again, but is there a neat syntax to jump to one
of the other cases?
Thanks.
Paul.
label. Is it possible to jump directly to one of these, eg "goto case
12;"? I realise this can be done by adding a "normal" label next to
the "case" label, and that it might be possible to arrange a similar
thing by cunning use of fall-through or by changing the variable and
executing the switch again, but is there a neat syntax to jump to one
of the other cases?
Thanks.
Paul.