<?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=70.150.174.3</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=70.150.174.3"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=Special:Contributions/70.150.174.3"/>
		<updated>2026-04-05T18:12:48Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:Basic:While</id>
		<title>83Plus:Basic:While</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Basic:While"/>
				<updated>2005-12-05T16:55:21Z</updated>
		
		<summary type="html">&lt;p&gt;70.150.174.3: /* Comments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:83Plus:Basic:Conditionals|While]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Token Size:''' 1 byte&lt;br /&gt;
&lt;br /&gt;
'''Syntax:'''&lt;br /&gt;
:While ''condition''&lt;br /&gt;
:''command''&lt;br /&gt;
:End&lt;br /&gt;
&lt;br /&gt;
The while command is used to execute a command or series of commands when a variable shares a given relationship with another variable or a value. A ''While'' command will continue to execute everything before the next ''End'' until the given condition is no longer met.&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
Use of a Goto statement within an While statement will cause an increase in memory allocation, leading to program slowdowns and eventually a MEMORY error. For example, the following code will eventually cause an error:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
Lbl 0&lt;br /&gt;
While X=1&lt;br /&gt;
X+1-&amp;gt;X&lt;br /&gt;
Disp X&lt;br /&gt;
Goto 0&lt;br /&gt;
End&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you must use a Goto within an While statement, it is possible to trick the 83+ into thinking the block ended by jumping to an otherwise unused label that uses an End statement followed by a jump to the proper label. For example, the above program could be rewritten like so:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;0-&amp;gt;X&lt;br /&gt;
Lbl 0&lt;br /&gt;
While X=1&lt;br /&gt;
X+1-&amp;gt;X&lt;br /&gt;
Disp X&lt;br /&gt;
Goto 2&lt;br /&gt;
End&lt;br /&gt;
Return&lt;br /&gt;
&lt;br /&gt;
Lbl 2&lt;br /&gt;
End&lt;br /&gt;
Goto 0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would avoid the problem by causing the 83+ to terminate the While conditional prior to jumping.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:While X =/= 105&lt;br /&gt;
:Getkey -&amp;gt; G&lt;br /&gt;
:End&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Or, if you desire the use of other operators, such as And, Or, or Xor:&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:While X=5 and Y=/=3&lt;br /&gt;
:Input &amp;quot;&amp;quot;,A&lt;br /&gt;
:A+X-&amp;gt;Y&lt;br /&gt;
:End&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>70.150.174.3</name></author>	</entry>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:Basic:While</id>
		<title>83Plus:Basic:While</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Basic:While"/>
				<updated>2005-12-05T16:53:43Z</updated>
		
		<summary type="html">&lt;p&gt;70.150.174.3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:83Plus:Basic:Conditionals|While]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Token Size:''' 1 byte&lt;br /&gt;
&lt;br /&gt;
'''Syntax:'''&lt;br /&gt;
:While ''condition''&lt;br /&gt;
:''command''&lt;br /&gt;
:End&lt;br /&gt;
&lt;br /&gt;
The while command is used to execute a command or series of commands when a variable shares a given relationship with another variable or a value. A ''While'' command will continue to execute everything before the next ''End'' until the given condition is no longer met.&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
Use of a Goto statement within an While statement will cause an increase in memory allocation, leading to program slowdowns and eventually a MEMORY error. For example, the following code will eventually cause an error:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;0-&amp;gt;X ;-&amp;gt; == STO operator&lt;br /&gt;
Lbl 0&lt;br /&gt;
While X=1&lt;br /&gt;
X+1-&amp;gt;X&lt;br /&gt;
Disp X&lt;br /&gt;
Goto 0&lt;br /&gt;
End&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you must use a Goto within an While statement, it is possible to trick the 83+ into thinking the block ended by jumping to an otherwise unused label that uses an End statement followed by a jump to the proper label. For example, the above program could be rewritten like so:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;0-&amp;gt;X&lt;br /&gt;
Lbl 0&lt;br /&gt;
While X=1&lt;br /&gt;
X+1-&amp;gt;X&lt;br /&gt;
Disp X&lt;br /&gt;
Goto 2&lt;br /&gt;
End&lt;br /&gt;
Return&lt;br /&gt;
&lt;br /&gt;
Lbl 2&lt;br /&gt;
End&lt;br /&gt;
Goto 0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would avoid the problem by causing the 83+ to terminate the While conditional prior to jumping.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:While X =/= 105&lt;br /&gt;
:Getkey -&amp;gt; G&lt;br /&gt;
:End&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Or, if you desire the use of other operators, such as And, Or, or Xor:&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
:While X=5 and Y=/=3&lt;br /&gt;
:Input &amp;quot;&amp;quot;,A&lt;br /&gt;
:A+X-&amp;gt;Y&lt;br /&gt;
:End&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>70.150.174.3</name></author>	</entry>

	</feed>