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

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:Basic:For(</id>
		<title>83Plus:Basic:For(</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Basic:For("/>
				<updated>2005-12-08T05:00:30Z</updated>
		
		<summary type="html">&lt;p&gt;Thanatos: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:83Plus:Basic:Conditionals|For(]]&lt;br /&gt;
&lt;br /&gt;
==Synopsis==&lt;br /&gt;
'''Token Size:''' 1 byte&lt;br /&gt;
&lt;br /&gt;
'''Syntax:'''&lt;br /&gt;
:For(Variable,First,Last[,Increment])&lt;br /&gt;
:''commands''&lt;br /&gt;
:End&lt;br /&gt;
&lt;br /&gt;
A for loop is used to execute commands while a variable is within a certain range. A for loop starts by setting ''Variable'' to ''First'', and running the commands within it. At the end, ''Variable'' is incremented by 1 or ''Increment'', if specified. If the value of ''Variable'' is greater than ''Last'' and ''Increment'' is positive, or if the value of ''Variable'' is less than ''Last'' and ''Increment'' is negative, the for loop will stop, and execution will continue after the ''End'' statement. Otherwise the commands in the for loop are executed with the new value of ''Variable''.&lt;br /&gt;
&lt;br /&gt;
==Comments==&lt;br /&gt;
The value of ''Variable'' may be modified during the for loop, and will have the expected results.&lt;br /&gt;
''Increment'' may be negative. It cannot be zero.&lt;br /&gt;
&lt;br /&gt;
Note that a for loop is essentially a while loop.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;For(X,1,10)&lt;br /&gt;
Disp X&lt;br /&gt;
End&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
could be written as:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;1-&amp;gt;X&lt;br /&gt;
While X&amp;lt;=10&lt;br /&gt;
Disp X&lt;br /&gt;
X+1-&amp;gt;X&lt;br /&gt;
End&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use of a Goto statement within a for loop 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;
 &amp;lt;nowiki&amp;gt;Lbl A&lt;br /&gt;
For(X,1,10)&lt;br /&gt;
Goto A&lt;br /&gt;
End&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
A for loop is good for looping through a certain range of numbers:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;For(X,1,10)&lt;br /&gt;
Disp X&lt;br /&gt;
End&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Thanatos</name></author>	</entry>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:Basic:Graphics:Line(</id>
		<title>83Plus:Basic:Graphics:Line(</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Basic:Graphics:Line("/>
				<updated>2005-12-08T03:32:29Z</updated>
		
		<summary type="html">&lt;p&gt;Thanatos: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:83Plus:Basic:Graphics|Line(]]&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Token size:''' 1 byte&lt;br /&gt;
&lt;br /&gt;
'''Syntax:''' Line(X1,Y1,X2,Y2,[1 or 0])&lt;br /&gt;
&lt;br /&gt;
Draws or erases a line from (X1, Y1) to (X2, Y2).&lt;br /&gt;
&lt;br /&gt;
== Outputs: ==&lt;br /&gt;
&lt;br /&gt;
Line drawn to or erased from the graph screen.&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
&lt;br /&gt;
*Endpoint coordinates are those defined by window settings, not by pixels&lt;br /&gt;
*The last argument is assumed to be 1 if omitted.  A value of 1 draws a line, a value of 0 erases one.&lt;br /&gt;
*Will throw no ERR:DOMAINs&lt;br /&gt;
*Functions, plots, and axes are not redrawn.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
To draw a line from the top left corner of the screen to the bottom right corner, wait, then erase it:&lt;br /&gt;
&lt;br /&gt;
 :Line(Xmin,Ymax,Xmax,Ymin)&lt;br /&gt;
 :Pause&lt;br /&gt;
 :Line(Xmin,Ymax,Xmax,Ymin,0)&lt;br /&gt;
&lt;br /&gt;
Draw a &amp;quot;unit square&amp;quot; centered at the origin:&lt;br /&gt;
&lt;br /&gt;
 :Line(1,1,-1,1)&lt;br /&gt;
 :Line(-1,1,-1,-1)&lt;br /&gt;
 :Line(-1,-1,1,-1)&lt;br /&gt;
 :Line(1,-1,1,1)&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;/div&gt;</summary>
		<author><name>Thanatos</name></author>	</entry>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:Basic:Graphics:Line(</id>
		<title>83Plus:Basic:Graphics:Line(</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Basic:Graphics:Line("/>
				<updated>2005-12-08T03:31:03Z</updated>
		
		<summary type="html">&lt;p&gt;Thanatos: /* Comments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:83Plus:Basic:Graphics|Line(]]&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Token size:''' 1 byte&lt;br /&gt;
&lt;br /&gt;
'''Syntax:''' Line(X1,Y1,X2,Y2,[1 or 0])&lt;br /&gt;
&lt;br /&gt;
Draws or erases a line from (X1, Y1) to (X2, Y2).&lt;br /&gt;
&lt;br /&gt;
== Outputs: ==&lt;br /&gt;
&lt;br /&gt;
Line drawn to or erased from the graph screen.&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
&lt;br /&gt;
*Endpoint coordinates are those defined by window settings, not by pixels&lt;br /&gt;
*The last argument is assumed to be 1 if omitted.  A value of 1 draws a line, a value of 0 erases one.&lt;br /&gt;
*Will throw no ERR:DOMAINs&lt;br /&gt;
*Functions, plots, and axes are not redrawn.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
To draw a line from the top left corner of the screen to the bottom right corner, wait, then erase it:&lt;br /&gt;
&lt;br /&gt;
 :Line(Xmin,Ymax,Xmax,Ymin)&lt;br /&gt;
 :Pause&lt;br /&gt;
 :Line(Xmin,Ymax,Xmax,Ymin,0)&lt;br /&gt;
&lt;br /&gt;
Draw a &amp;quot;unit square&amp;quot; centered at the origin:&lt;br /&gt;
&lt;br /&gt;
 :Line(1,1,-1,1)&lt;br /&gt;
 :Line(-1,1,-1,-1)&lt;br /&gt;
 :Line(-1,-1,1,-1)&lt;br /&gt;
 :line(1,-1,1,1)&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;/div&gt;</summary>
		<author><name>Thanatos</name></author>	</entry>

	</feed>