EAGLE Help

Colon


The colon indicates the end of a label in a switch statement:
switch (c) {
  case 'a': printf("It was an 'a'\n"); break;
  case 'b': printf("It was a  'b'\n"); break;
  default:  printf("none of them\n");
  }

Index Copyright © 2005 CadSoft Computer GmbH