<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Multiple cases for switch construct</title>
	<atom:link href="http://www.nutt.net/2004/12/28/multiple-cases-for-switch-construct/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nutt.net/2004/12/28/multiple-cases-for-switch-construct/</link>
	<description>Random articles on whatever I feel like...</description>
	<pubDate>Thu, 28 Aug 2008 05:04:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Ryan</title>
		<link>http://www.nutt.net/2004/12/28/multiple-cases-for-switch-construct/#comment-10826</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sat, 17 Mar 2007 11:53:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nutt.net/archive/2004/12/28/multiple-cases-for-switch-construct/55.html#comment-10826</guid>
		<description>The OR construct seems to work for me, but the range doesn't.</description>
		<content:encoded><![CDATA[<p>The OR construct seems to work for me, but the range doesn&#8217;t.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://www.nutt.net/2004/12/28/multiple-cases-for-switch-construct/#comment-10814</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Sat, 17 Mar 2007 07:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nutt.net/archive/2004/12/28/multiple-cases-for-switch-construct/55.html#comment-10814</guid>
		<description>I've discovered the syntax which makes the multiple-construct work:

You simply omit the parenthesis, so that the case line reads eg:

case 1 &#124;&#124; 2:
  echo "foobar";

and so on.

It seems that the range allows something like this:

case 1-3:
  echo "foobar";</description>
		<content:encoded><![CDATA[<p>I&#8217;ve discovered the syntax which makes the multiple-construct work:</p>
<p>You simply omit the parenthesis, so that the case line reads eg:</p>
<p>case 1 || 2:<br />
  echo &#8220;foobar&#8221;;</p>
<p>and so on.</p>
<p>It seems that the range allows something like this:</p>
<p>case 1-3:<br />
  echo &#8220;foobar&#8221;;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
