<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wikiti.brandonw.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wikiti.brandonw.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Catsleepsunderoakleaves</id>
		<title>WikiTI - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wikiti.brandonw.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Catsleepsunderoakleaves"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=Special:Contributions/Catsleepsunderoakleaves"/>
		<updated>2026-04-06T00:15:54Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:Basic:Repeat</id>
		<title>83Plus:Basic:Repeat</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Basic:Repeat"/>
				<updated>2007-02-23T19:25:19Z</updated>
		
		<summary type="html">&lt;p&gt;Catsleepsunderoakleaves: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:83Plus:Basic:Conditionals|Repeat]]&lt;br /&gt;
&lt;br /&gt;
The '''Repeat''' loop is a program-flow statement that repeats the execution a section of code at least once, based on the value of a condition. The Repeat loop is comprised of a &amp;lt;code&amp;gt;Repeat(&amp;lt;/code&amp;gt; token, a conditional statement, and a block of code terminated by an &amp;lt;code&amp;gt;End&amp;lt;/code&amp;gt; token. It is similar to, but fundamentally different than, the [[83Plus:Basic:While|While]] loop.&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Token Size:''' 1 byte&lt;br /&gt;
&lt;br /&gt;
'''Syntax:'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
:Repeat &amp;lt;/nowiki&amp;gt;''condition''&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:  &amp;lt;/nowiki&amp;gt;''code to be executed''&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:End&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synatax ==&lt;br /&gt;
The Repeat loop consists of at least three lines of code; the initialization and condition of the loop:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
:Repeat(&amp;lt;/nowiki&amp;gt;'' condition ''&amp;lt;nowiki&amp;gt;)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the body of the loop, possibly consisting of several lines, and a terminating &amp;lt;code&amp;gt;End&amp;lt;/code&amp;gt; statement.&lt;br /&gt;
&lt;br /&gt;
This loop pushes its return condition onto the stack, so it should ideally exclude &amp;lt;code&amp;gt;Goto&amp;lt;/code&amp;gt; statements, or a memory error is possible.&lt;br /&gt;
&lt;br /&gt;
== Execution ==&lt;br /&gt;
When the &amp;lt;code&amp;gt;Repeat(&amp;lt;/code&amp;gt; command is encountered, execution of the code block begins. At the end of the loop, the condition is evaluated. If it is false, the loop repeats; if it is true, the loop exits. Becuase continuation of the loop is dependant on the ''opposite'' boolean value of that which controls the While loop, the repeat loop is often used incorrectly.&lt;br /&gt;
&lt;br /&gt;
== Use ==&lt;br /&gt;
The Repeat loop can be generally used as an alternative to thw While loop. In general, a repeat should be used for a loop that should always run at least once. The exact choice is dependant on the needs of the programmer.&lt;br /&gt;
&lt;br /&gt;
The following are essentially identical:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
:Repeat(Z=105)&lt;br /&gt;
:  &amp;lt;/nowiki&amp;gt;''...''&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:getKey\-&amp;gt;\Z&lt;br /&gt;
:End&lt;br /&gt;
...comapre to...&lt;br /&gt;
:0\-&amp;gt;\Z&lt;br /&gt;
:While(Zâ‰ 105)&lt;br /&gt;
:  &amp;lt;/nowiki&amp;gt;''...''&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:getKey\-&amp;gt;\Z&lt;br /&gt;
:End&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Repeat loop is smaller than the While by three bytes. A similar program using the &amp;lt;code&amp;gt;Ans&amp;lt;/code&amp;gt; variable makes the While loop larger by one byte. Either way, the Repeat loop is generally smaller.&lt;/div&gt;</summary>
		<author><name>Catsleepsunderoakleaves</name></author>	</entry>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:Basic:Repeat</id>
		<title>83Plus:Basic:Repeat</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Basic:Repeat"/>
				<updated>2007-02-23T19:24:22Z</updated>
		
		<summary type="html">&lt;p&gt;Catsleepsunderoakleaves: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:83Plus:Basic:Conditionals|Repeat]]&lt;br /&gt;
&lt;br /&gt;
The '''Repeat''' loop is a program-flow statement that repeats the execution a section of code at least once, based on the value of a condition. The Repeat loop is comprised of a &amp;lt;code&amp;gt;Repeat(&amp;lt;/code&amp;gt; token, a conditional statement, and a block of code terminated by an &amp;lt;code&amp;gt;End&amp;lt;/code&amp;gt; token. It is similar to, but fundamentally different than, the [[While]] loop.&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Token Size:''' 1 byte&lt;br /&gt;
&lt;br /&gt;
'''Syntax:'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
:Repeat &amp;lt;/nowiki&amp;gt;''condition''&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:  &amp;lt;/nowiki&amp;gt;''code to be executed''&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:End&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synatax ==&lt;br /&gt;
The Repeat loop consists of at least three lines of code; the initialization and condition of the loop:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
:Repeat(&amp;lt;/nowiki&amp;gt;'' condition ''&amp;lt;nowiki&amp;gt;)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the body of the loop, possibly consisting of several lines, and a terminating &amp;lt;code&amp;gt;End&amp;lt;/code&amp;gt; statement.&lt;br /&gt;
&lt;br /&gt;
This loop pushes its return condition onto the stack, so it should ideally exclude &amp;lt;code&amp;gt;Goto&amp;lt;/code&amp;gt; statements, or a memory error is possible.&lt;br /&gt;
&lt;br /&gt;
== Execution ==&lt;br /&gt;
When the &amp;lt;code&amp;gt;Repeat(&amp;lt;/code&amp;gt; command is encountered, execution of the code block begins. At the end of the loop, the condition is evaluated. If it is false, the loop repeats; if it is true, the loop exits. Becuase continuation of the loop is dependant on the ''opposite'' boolean value of that which controls the While loop, the repeat loop is often used incorrectly.&lt;br /&gt;
&lt;br /&gt;
== Use ==&lt;br /&gt;
The Repeat loop can be generally used as an alternative to thw While loop. In general, a repeat should be used for a loop that should always run at least once. The exact choice is dependant on the needs of the programmer.&lt;br /&gt;
&lt;br /&gt;
The following are essentially identical:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
:Repeat(Z=105)&lt;br /&gt;
:  &amp;lt;/nowiki&amp;gt;''...''&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:getKey\-&amp;gt;\Z&lt;br /&gt;
:End&lt;br /&gt;
...comapre to...&lt;br /&gt;
:0\-&amp;gt;\Z&lt;br /&gt;
:While(Zâ‰ 105)&lt;br /&gt;
:  &amp;lt;/nowiki&amp;gt;''...''&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:getKey\-&amp;gt;\Z&lt;br /&gt;
:End&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Repeat loop is smaller than the While by three bytes. A similar program using the &amp;lt;code&amp;gt;Ans&amp;lt;/code&amp;gt; variable makes the While loop larger by one byte. Either way, the Repeat loop is generally smaller.&lt;/div&gt;</summary>
		<author><name>Catsleepsunderoakleaves</name></author>	</entry>

	</feed>