Anvil | Smiths Smiths | Register Register | Login Login |
Search:
Show links Show tools Show tree | Previous document Next document | njet.org > Anvil > Documentation > Language reference > Statements > Simple statements > Continue > Continue .. case

Continue .. case

Continue .. case and continue .. default are special type of unconditional jump that may be used only inside switch statement. It targets to innermost switch statement, or to one referred with label.

Continue .. case jumps to case whose value matches given constant expression. Target case is determined during compile time so this jump is not dynamic.

Continue .. default jumps to default, which must exist.

  continue  := "continue" [ symbollabel ] "case" exprconstant  [ stmt-modifier ] ";" 
  continue  := "continue" [ symbollabel ] "default" [ stmt-modifier ] ";" 
See also  | Switch
Contributes notes:
Add a note
What's new | Anvil