<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.webcore.co/history/Case_Traversal_Policy?feed=atom</id>
		<title>Case Traversal Policy - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.webcore.co/history/Case_Traversal_Policy?feed=atom"/>
		<link rel="alternate" type="text/html" href="https://wiki.webcore.co/history/Case_Traversal_Policy"/>
		<updated>2026-05-08T14:00:14Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://wiki.webcore.co/index.php?title=Case_Traversal_Policy&amp;diff=143&amp;oldid=prev</id>
		<title>ady624: Created page with &quot;A switch statement is an easy way to execute different things for different values of an operand. It does so by using ''cases'', each with its own collection of statements to...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.webcore.co/index.php?title=Case_Traversal_Policy&amp;diff=143&amp;oldid=prev"/>
				<updated>2017-04-13T17:27:19Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;A switch statement is an easy way to execute different things for different values of an operand. It does so by using &amp;#039;&amp;#039;cases&amp;#039;&amp;#039;, each with its own collection of statements to...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A switch statement is an easy way to execute different things for different values of an operand. It does so by using ''cases'', each with its own collection of statements to execute if matched. Typically, we only want one case to execute, then expect the switch statement to terminate and execution be handed over to the next statement, if any. This is the default behavior, also known as ''Safe'', where the first and only the first matching case is executed.&lt;br /&gt;
&lt;br /&gt;
The fall-through method allows cases to share statements. The switch statement will find the first matching case and execute its statements, then continues, or ''falls through'' with the next case, regardless of it matching or not, and then the next case, and so on, until the last case is executed, or until a ''break'' statement is reached. In this scenario, you need to manually add ''break'' statements to each case that needs to terminate the switch statement.&lt;/div&gt;</summary>
		<author><name>ady624</name></author>	</entry>

	</feed>