title: Switch/Case - Expected Member name or ";" after declaration specifiers
body: <p>"Expected Member name or ";" after declaration specifiers" error appear on the top line  switch(stuff)</p>
  
  <pre><code> float waveform = getParameter(6);
  
  switch(waveform){
      case 1: Sine signalGenerator
          break;
      case 2: SawWave signalGenerator
          break;
      case 3: SquareWave signalGenerator
          break;
      default: Sine signalGenerator
  }
  </code></pre>
  
  <p>Any suggestions on how to sort it would be great! Thanks in advance!</p>
  
  <p>This is the real code: </p>
  
  <pre><code>float waveform = getParameter(6); 
  switch(waveform)
  { case 1: Sine signalGenerator break; 
    case 2: SawWave signalGenerator break; 
    case 3: SquareWave signalGenerator break; 
    default: Sine signalGenerator 
  } 
  </code></pre>