<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.eduke32.com/w/index.php?action=history&amp;feed=atom&amp;title=Exit</id>
	<title>Exit - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eduke32.com/w/index.php?action=history&amp;feed=atom&amp;title=Exit"/>
	<link rel="alternate" type="text/html" href="https://wiki.eduke32.com/w/index.php?title=Exit&amp;action=history"/>
	<updated>2026-04-04T01:11:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0-alpha</generator>
	<entry>
		<id>https://wiki.eduke32.com/w/index.php?title=Exit&amp;diff=14861&amp;oldid=prev</id>
		<title>Doom64hunter: Created page with &quot;The &#039;&#039;&#039;exit&#039;&#039;&#039; command breaks out of a loop, in the way one would normally from &quot;break&quot; commands in other languages. It should not be used outside of loops.  It should be used instead of break if the intention is to actually leave the loop early.  See also continue, return and terminate.  == Example ==      set j 0     whilen j 3     {         add j 1         userquote 500         exit         userquote 400     }  Makes quote 500 be displayed exactly once...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.eduke32.com/w/index.php?title=Exit&amp;diff=14861&amp;oldid=prev"/>
		<updated>2024-01-07T12:11:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;#039;&amp;#039;&amp;#039;exit&amp;#039;&amp;#039;&amp;#039; command breaks out of a loop, in the way one would normally from &amp;quot;break&amp;quot; commands in other languages. It should not be used outside of loops.  It should be used instead of &lt;a href=&quot;/wiki/Break&quot; title=&quot;Break&quot;&gt;break&lt;/a&gt; if the intention is to actually leave the loop early.  See also &lt;a href=&quot;/wiki/Continue&quot; title=&quot;Continue&quot;&gt;continue&lt;/a&gt;, &lt;a href=&quot;/wiki/Return&quot; title=&quot;Return&quot;&gt;return&lt;/a&gt; and &lt;a href=&quot;/wiki/Terminate&quot; title=&quot;Terminate&quot;&gt;terminate&lt;/a&gt;.  == Example ==      set j 0     whilen j 3     {         add j 1         userquote 500         exit         userquote 400     }  Makes quote 500 be displayed exactly once...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;exit&amp;#039;&amp;#039;&amp;#039; command breaks out of a loop, in the way one would normally from &amp;quot;break&amp;quot; commands in other languages. It should not be used outside of loops.&lt;br /&gt;
&lt;br /&gt;
It should be used instead of [[break]] if the intention is to actually leave the loop early.&lt;br /&gt;
&lt;br /&gt;
See also [[continue]], [[return]] and [[terminate]].&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
    set j 0&lt;br /&gt;
    whilen j 3&lt;br /&gt;
    {&lt;br /&gt;
        add j 1&lt;br /&gt;
        userquote 500&lt;br /&gt;
        exit&lt;br /&gt;
        userquote 400&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
Makes quote 500 be displayed exactly once, and quote 400 not a single time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:EDuke32 specific commands]]&lt;br /&gt;
[[Category:Event manipulation]]&lt;/div&gt;</summary>
		<author><name>Doom64hunter</name></author>
	</entry>
</feed>