Switch language syntax


/ Published in: Objective C



Copy this code and paste it in your HTML
  1. switch (var)
  2. {
  3. case 0:
  4. break;
  5. case 1:
  6. break;
  7. case 2:
  8. break;
  9. (default)
  10. break;
  11. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.