title: Single line VBScript Select Case with multiple statements: eg: Case 0: x=a y=b
body: <p>I'm randomly selecting a flag and corresponding country using VBScript.  Because of the way I'm generating the code (programmatically), each Case statement will end up on a single line.</p>
  <p>I know to use the colon (&quot;:&quot;) after the Case x: to keep the flag var on the same line.  Adding the country var to the line breaks the code though.</p>
  <p>What is the proper syntax for this line?</p>
  <p>Current code sample:</p>
  <pre><code>Select Case rndCountry
  Case 0: flag=&quot;af&quot; country=&quot;Afghanistan&quot;
  Case 1: flag=&quot;al&quot; country=&quot;Albania&quot;
  Case 2: flag=&quot;dz&quot; country=&quot;Algeria&quot;
  Case 3: flag=&quot;as&quot; country=&quot;American Samoa&quot;
  Case 4: flag=&quot;in&quot; country=&quot;Andaman Islands&quot;
  Case 5: flag=&quot;ad&quot; country=&quot;Andorra&quot;
  Case 6: flag=&quot;ao&quot; country=&quot;Angola&quot;
  Case 7: flag=&quot;ai&quot; country=&quot;Anguilla&quot;
  Case 8: flag=&quot;aq&quot; country=&quot;Antarctica&quot;
  Case 9: flag=&quot;ag&quot; country=&quot;Antigua and Barbuda&quot;
  Case 10: flag=&quot;ar&quot; country=&quot;Argentina&quot;
  Case 11: flag=&quot;am&quot; country=&quot;Armenia&quot;
  Case 12: flag=&quot;aw&quot; country=&quot;Aruba&quot;
  Case 13: flag=&quot;ac&quot; country=&quot;Ascension Island&quot;
  End Select
  </code></pre>
  <p>The above code yields the &quot;Expected end of statement&quot; error.</p>