<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://hotline.ubersoft.org/Sputnik/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Named_Blocks</id>
		<title>Named Blocks - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Named_Blocks"/>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Named_Blocks&amp;action=history"/>
		<updated>2026-04-05T20:45:24Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Named_Blocks&amp;diff=5000&amp;oldid=prev</id>
		<title>UberFoX: 2 revisions</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Named_Blocks&amp;diff=5000&amp;oldid=prev"/>
				<updated>2015-06-14T12:37:52Z</updated>
		
		<summary type="html">&lt;p&gt;2 revisions&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:37, 14 June 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Named_Blocks&amp;diff=4999&amp;oldid=prev</id>
		<title>UberFoX: /* Remarks */</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Named_Blocks&amp;diff=4999&amp;oldid=prev"/>
				<updated>2015-01-20T13:22:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Remarks&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:22, 20 January 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Name { } statements may be nested.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Name { } statements may be nested.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;This is NOT the same as *goto* this statement is actually super fast since it basically simulates a return from the code and only stops returning when it reaches the named block itself then continues from the end of it.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;So it is safe to use this and it will not slow down your program (unlike goto).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Example ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Example ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Named_Blocks&amp;diff=4998&amp;oldid=prev</id>
		<title>UberFoX: Created page with &quot;= Name { } =  === Description ===  A named block is similar to your normal { } block but since it has a name you can specifically *break* from that thing no matter where you a...&quot;</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Named_Blocks&amp;diff=4998&amp;oldid=prev"/>
				<updated>2015-01-20T13:21:12Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Name { } =  === Description ===  A named block is similar to your normal { } block but since it has a name you can specifically *break* from that thing no matter where you a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Name { } =&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
A named block is similar to your normal { } block but since it has a name you can specifically *break* from that thing no matter where you are inside the block.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Name&lt;br /&gt;
{&lt;br /&gt;
    statements&lt;br /&gt;
    ...&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
==== Name ====&lt;br /&gt;
&lt;br /&gt;
The name to give this named block we will need the name later in the break statement.&lt;br /&gt;
&lt;br /&gt;
==== Block ====&lt;br /&gt;
&lt;br /&gt;
The block of code to execute.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
Name { } statements may be nested.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
Break from first one&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
say &amp;quot;Begin&amp;quot;;&lt;br /&gt;
hehe&lt;br /&gt;
{&lt;br /&gt;
	say &amp;quot;Toy&amp;quot;;&lt;br /&gt;
	test&lt;br /&gt;
	{&lt;br /&gt;
		say &amp;quot;Cat&amp;quot;;&lt;br /&gt;
		{&lt;br /&gt;
			say &amp;quot;Dog&amp;quot;;&lt;br /&gt;
			if(1 == 1)&lt;br /&gt;
			{&lt;br /&gt;
				break 'hehe';&lt;br /&gt;
			}&lt;br /&gt;
			say &amp;quot;Fox&amp;quot;;&lt;br /&gt;
		}&lt;br /&gt;
		say &amp;quot;Cow&amp;quot;;&lt;br /&gt;
	}&lt;br /&gt;
	say &amp;quot;Mat&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
say &amp;quot;End&amp;quot;;&lt;br /&gt;
// Prints&lt;br /&gt;
// Begin&lt;br /&gt;
// Toy&lt;br /&gt;
// Cat&lt;br /&gt;
// Dog&lt;br /&gt;
// End&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Break from second one&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
say &amp;quot;Begin&amp;quot;;&lt;br /&gt;
hehe&lt;br /&gt;
{&lt;br /&gt;
	say &amp;quot;Toy&amp;quot;;&lt;br /&gt;
	test&lt;br /&gt;
	{&lt;br /&gt;
		say &amp;quot;Cat&amp;quot;;&lt;br /&gt;
		{&lt;br /&gt;
			say &amp;quot;Dog&amp;quot;;&lt;br /&gt;
			if(1 == 1)&lt;br /&gt;
			{&lt;br /&gt;
				break 'test';&lt;br /&gt;
			}&lt;br /&gt;
			say &amp;quot;Fox&amp;quot;;&lt;br /&gt;
		}&lt;br /&gt;
		say &amp;quot;Cow&amp;quot;;&lt;br /&gt;
	}&lt;br /&gt;
	say &amp;quot;Mat&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
say &amp;quot;End&amp;quot;;&lt;br /&gt;
// Prints&lt;br /&gt;
// Begin&lt;br /&gt;
// Toy&lt;br /&gt;
// Cat&lt;br /&gt;
// Dog&lt;br /&gt;
// Mat&lt;br /&gt;
// End&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Core Function]]&lt;/div&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	</feed>